Skip to content

Commit 6f679c7

Browse files
committed
solvers: completed test_complex_schur
1 parent 91ae808 commit 6f679c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

unittest/python/test_complex_schur.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import eigenpy
44

5-
dim = 100
5+
dim = 5
66
rng = np.random.default_rng()
77
A = rng.random((dim, dim))
88

@@ -13,7 +13,7 @@
1313
U_star = U.conj().T
1414

1515
assert eigenpy.is_approx(A.real, (U @ T @ U_star).real)
16-
assert np.allclose(A.imag, (U @ T @ U_star).imag, atol=1e-10)
16+
assert np.allclose(A.imag, (U @ T @ U_star).imag)
1717

1818
cs.setMaxIterations(10)
1919
assert cs.getMaxIterations() == 10

0 commit comments

Comments
 (0)