Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Address new broadcasting rules in NumPy 2's
solve
"The broadcasting rules for `np.solve(a, b)`` were ambiguous when b had 1 fewer dimensions than `a`. This has been resolved in a backward- incompatible way and is now compliant with the Array API. The old behaviour can be reconstructed by using `np.solve(a, b[..., None])[..., 0]`." https://numpy.org/devdocs/release/2.0.0-notes.html#removed-ambiguity-when-broadcasting-in-np-solve https://www.github.com/numpy/numpy/pull/25914
- Loading branch information