[fix] Numpy 2 breaking changes in tests

This commit is contained in:
Fabian Joswig 2024-04-14 11:11:26 +02:00
parent 9f46bf8966
commit ea4bbc918d
2 changed files with 8 additions and 8 deletions

View file

@ -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)