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 摘要。