ndarray::stack
changed behavior w.r.t layout between 0.15.1 and 0.15.2
#1070
Labels
ndarray::stack
changed behavior w.r.t layout between 0.15.1 and 0.15.2
#1070
Before 0.15.3,
stack
would return an array with C-layout when given C-layout views. But with 0.15.3, this behavior changed and now we get F-layout outputs. This demonstration program will succeed if you pin ndarray to"=0.15.2"
and fail if you pin to"=0.15.3"
:I don't see anything about the layout of
stack
's return value in the docs so I assumed that it would match the inputs. So even if no code behavior change is warranted, the docs should really include a note explaining that you might get a different layout than your inputs.The text was updated successfully, but these errors were encountered: