Jim Turner
Jim Turner
Before, the user could silently violate safety requirements of `SliceInfo::new_unchecked` by directly calling `s![@parse inconsistent_values]`, where `inconsistent_values` represents inconsistent values for the dimensions, etc. Now, the macro calls `SliceInfo::new_unchecked` only...
The next release of `ndarray` will have a `multislice!` macro for easily taking multiple mutable, disjoint slices simultaneously. (#388) This is great, but there are cases where you want to...
Before this PR, running `MIRIFLAGS="-Zmiri-tag-raw-pointers" cargo miri test` caused Miri to report undefined behavior for code using the `WindowsIter`, `ExactChunksIter`, and `ExactChunksIterMut` iterators. This PR fixes the underlying issue. Basically,...
`rustfmt` is very convenient when writing PRs, but when it's not enforced by CI, the formatting in the project inevitably diverges from the `rustfmt` style. So, when I run `rustfmt`...
Before this PR, running `MIRIFLAGS="-Zmiri-tag-raw-pointers" cargo miri test test_map_axis` caused Miri to report undefined behavior in the `test_map_axis` test. This PR fixes the underlying issue. Basically, Miri doesn't like us...
Some methods (e.g. `.remove_axis()`, `.into_subview()`, and `.slice_move()`) can cause some of the elements in an owned array to be come inaccessable. It would be useful to have a method that...
This is something I've wanted for a long time; it allows for creation of const `ArrayView`s. With Rust 1.57, it's now possible. (This was blocked on the ability to panic...
While reviewing #1130, I noticed these missing checks introduced in #980. In the first commit, the new `deny_slice_with_too_many_rows_to_arrayview*2` tests fail in release mode. The second commit fixes the code so...
This isn't ready to merge yet because building the docs for `nalgebra` results in an internal compiler error (rustsim/nalgebra#482). I'd like to wait until this is fixed because I don't...
This can be convenient for some use cases, such as copying windows (especially with a non-unit step between windows) into a new owned array for modification. This would rely on...