@@ -86,7 +86,7 @@ def test_cg(par):
8686 x0 = None
8787
8888 y = Aop * x
89- xinv = cg (Aop , y , x0 = x0 , niter = par ["nx" ], atol = 1e-5 , show = True )[0 ]
89+ xinv = cg (Aop , y , x0 = x0 , niter = par ["nx" ], tol = 1e-5 , show = True )[0 ]
9090 assert_array_almost_equal (x , xinv , decimal = 4 )
9191
9292
@@ -114,7 +114,7 @@ def test_cg_ndarray(par):
114114 x0 = None
115115
116116 y = Aop * x
117- xinv = cg (Aop , y , x0 = x0 , niter = 2 * x .size , atol = 1e-5 , show = True )[0 ]
117+ xinv = cg (Aop , y , x0 = x0 , niter = 2 * x .size , tol = 1e-5 , show = True )[0 ]
118118 assert xinv .shape == x .shape
119119 assert_array_almost_equal (x , xinv , decimal = 4 )
120120
@@ -143,7 +143,7 @@ def test_cg_forceflat(par):
143143 x0 = None
144144
145145 y = Aop * x
146- xinv = cg (Aop , y , x0 = x0 , niter = 2 * x .size , atol = 1e-5 , show = True )[0 ]
146+ xinv = cg (Aop , y , x0 = x0 , niter = 2 * x .size , tol = 1e-5 , show = True )[0 ]
147147 assert xinv .shape == x .ravel ().shape
148148 assert_array_almost_equal (x .ravel (), xinv , decimal = 4 )
149149
@@ -169,7 +169,7 @@ def test_cgls(par):
169169 x0 = None
170170
171171 y = Aop * x
172- xinv = cgls (Aop , y , x0 = x0 , niter = par ["nx" ], atol = 1e-5 , show = True )[0 ]
172+ xinv = cgls (Aop , y , x0 = x0 , niter = par ["nx" ], tol = 1e-5 , show = True )[0 ]
173173 assert_array_almost_equal (x , xinv , decimal = 4 )
174174
175175
0 commit comments