Repository navigation
Comparing changes
Open a pull request
base repository: ravvas/ndarray
base: master
head repository: rust-ndarray/ndarray
compare: master
- 9 commits
- 21 files changed
- 8 contributors
Commits on Oct 18, 2026
-
Configuration menu - View commit details
-
Copy full SHA for c95d814 - Browse repository at this point
Copy the full SHA c95d814View commit details -
ci: run latest-deps check daily and add stable clippy (rust-ndarray#1623
) New Rust releases periodically break CI through new lints and deprecations (rust-ndarray#1620 was the latest), and we usually find out from failures on unrelated PRs. Running this check daily, and including stable clippy, should surface those breakages on `master` within a day. Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for ace739e - Browse repository at this point
Copy the full SHA ace739eView commit details -
fix: prevent stack overflow in F-order triu/tril (rust-ndarray#1616)
The F-order fast paths in triu and tril swap the last two axes and call each other. That is only safe for 2D arrays, where the swap yields a C-contiguous view. Higher-D F-and-not-C views (for example a C-order transpose followed by insert_axis) can remain F-and-not-C after the swap, so the two functions recurse until they overflow the stack. Restrict the shortcut to ndim == 2 so normal 2D .f() arrays keep the optimization, while the issue rust-ndarray#1615 repro takes the non-recursive path.
Configuration menu - View commit details
-
Copy full SHA for b301b7a - Browse repository at this point
Copy the full SHA b301b7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 98957ca - Browse repository at this point
Copy the full SHA 98957caView commit details -
fix: inverted is_all_nan / is_any_nan / is_all_infinite / is_any_infi…
…nite (rust-ndarray#1614) The boolean_ops! macro in src/numeric/impl_float_maths.rs had an inverted $all predicate: Zip::from(self).all(|&elt| !elt.$func()) tests "all elements are NOT NaN", the opposite of the documented "true if all elements are NaN". $any was defined as !self.$all(), so the double negation made is_any_* appear correct while is_all_* returned true for an all-finite array. Correct both predicates together (fixing only $all would break the is_any_* methods that ride on the double negation): $all -> Zip::from(self).all(|&elt| elt.$func()) $any -> Zip::from(self).any(|&elt| elt.$func()) Empty-array semantics are preserved (all -> true, any -> false).
Configuration menu - View commit details
-
Copy full SHA for b0f9657 - Browse repository at this point
Copy the full SHA b0f9657View commit details
Commits on Oct 19, 2026
-
fix: allow zero strides on empty arrays (rust-ndarray#1611)
Treat shapes with an empty axis as non-overlapping when validating mutable views. This allows zero strides on empty arrays while keeping the existing overlap checks for non-empty shapes. Fixes rust-ndarray#1609
Configuration menu - View commit details
-
Copy full SHA for 34d4e13 - Browse repository at this point
Copy the full SHA 34d4e13View commit details -
feat: add
Dimension::from_slice(rust-ndarray#1608)Add a public `from_slice` that returns `None` when the slice length does not match the type's dimensionality (`IxDyn` accepts any length). Now `from_dimension` uses `from_slice`. Closes rust-ndarray#1330
Configuration menu - View commit details
-
Copy full SHA for 4ada8b9 - Browse repository at this point
Copy the full SHA 4ada8b9View commit details -
feat: update to rand 0.10 and rand_distr 0.6
No changes needed in ndarray-rand itself. Changes in `crates/numeric-tests/tests/accuracy.rs`: - Import `RngExt` for `random_range`. - Replace the removed `SmallRng::from_os_rng` with `SmallRng::from_rng(&mut rand::rng())`. bump ndarray-rand to 0.17.0 Closes rust-ndarray#1590
Configuration menu - View commit details
-
Copy full SHA for c9fe937 - Browse repository at this point
Copy the full SHA c9fe937View commit details
Commits on Oct 23, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 53df84a - Browse repository at this point
Copy the full SHA 53df84aView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff master...master