Zero-pad ragged VectorOfArray slices with integer-array selectors

Đang mở
#697 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

🚧 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)

Ngôn ngữ chính
Julia
Star
234
Fork
78
Merge trung bình
6 ngày 1 giờ
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của SciML/RecursiveArrayTools.jl

Tất cả issue của SciML/RecursiveArrayTools.jl

Issue tương tự

Thêm issue về Julia

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.