mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-14 19:43:41 +02:00
[fix] Numpy 2 breaking changes in tests (#234)
This commit is contained in:
parent
9f46bf8966
commit
43bd99b6c7
2 changed files with 8 additions and 8 deletions
|
@ -299,7 +299,7 @@ def test_matrix_functions():
|
|||
|
||||
# Check eigv
|
||||
v2 = pe.linalg.eigv(sym)
|
||||
assert(np.all(v - v2).is_zero())
|
||||
assert np.sum(v - v2).is_zero()
|
||||
|
||||
# Check eig function
|
||||
e2 = pe.linalg.eig(sym)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue