Define padding for partial-colon slices with unequal stored axes

Aperta
#699 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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

A partial-colon window on ragged matrix states can return arrays of different lengths, which Base cannot stack.

using RecursiveArrayTools
A = VectorOfArray([reshape([11, 12], 2, 1), reshape([21, 22, 23], 3, 1)])
A[:, 1, 1:2]  # DimensionMismatch
Array(A)[:, 1, 1:2]  # [11 21; 12 22; 0 23]
A[:, 1, 1:1]  # A valid 2×1 slice

Define the padding extent for windows whose selected slices cannot stack. Keep valid short windows on the stored-state path so they retain their shape and work scales with the selection. 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)

Lingua principale
Julia
Stelle
234
Fork
78
Merge medio
6g 1h
PR unite (30g)
2

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di SciML/RecursiveArrayTools.jl

Tutte le issue di SciML/RecursiveArrayTools.jl

Issue simili

Altre issue su Julia

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.