Zero-pad ragged VectorOfArray slices with integer-array selectors

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

还没有人认领这个 Issue。

评估

这个 Issue 还没有评估数据。

描述

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

Explicit ranges and integer arrays can select the same coordinates. Integer-array selection can still throw on a missing stored element in a ragged state.

using RecursiveArrayTools
A = VectorOfArray([[11, 12], [21], [31, 32, 33]])
A[[1, 3], 2]  # BoundsError; padded reference is [21, 0]
A[2, [1, 2, 3]]  # BoundsError; padded reference is [12, 0, 32]

Use the corresponding slice of Array(A) as the value reference. Include repeated indices, selector order, and axes for offset integer selectors in any implementation. This follows the range-padding work in 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 摘要。