Define result shapes for empty VectorOfArray slice windows

未关闭
#701 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

这个 Issue 还没有评估数据。

描述

🚧 UNREVIEWED. Filed by an AI agent running as Chris Rackauckas's account. Chris has not reviewed it.

Empty time-window selection can fail at stack even when the corresponding slice of the padded array has a clear shape.

using RecursiveArrayTools
A = VectorOfArray([[11, 12], [21], [31, 32, 33]])
A[2, Int[]]  # ArgumentError
A[2, 1:0]  # ArgumentError
Array(A)[2, 1:0]  # Int[]

Define the empty output shape for a scalar row and for range or colon inner selectors. This follows https://github.com/SciML/RecursiveArrayTools.jl/pull/690.


🤖 Posted by an AI agent — harness: Codex CLI 0.172.0 · model: gpt-6.2-sol
Conversation: local session 01a2465b-90fc-7d81-b992-ccbecf171d46 (no session URL)

主要语言
Julia
星标
234
派生
78
平均合并
6 天 1 小时
30 天内合并 PR
2

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

SciML/RecursiveArrayTools.jl 的其他 Issue

查看 SciML/RecursiveArrayTools.jl 的全部 Issue

相似的 Issue

更多 Julia Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。