@@ -93,12 +93,12 @@ def test_NormalEquationsInversion(par):
9393
9494 # normal equations with regularization
9595 xinv = normal_equations_inversion (
96- Gop , y , [Reg ], epsI = 1e-5 , epsRs = [1e-8 ], x0 = x0 , ** dict (maxiter = 200 , tol = 1e-10 )
96+ Gop , y , [Reg ], epsI = 1e-5 , epsRs = [1e-8 ], x0 = x0 , ** dict (maxiter = 200 , atol = 1e-10 )
9797 )[0 ]
9898 assert_array_almost_equal (x , xinv , decimal = 3 )
9999 # normal equations with weight
100100 xinv = normal_equations_inversion (
101- Gop , y , None , Weight = Weigth , epsI = 1e-5 , x0 = x0 , ** dict (maxiter = 200 , tol = 1e-10 )
101+ Gop , y , None , Weight = Weigth , epsI = 1e-5 , x0 = x0 , ** dict (maxiter = 200 , atol = 1e-10 )
102102 )[0 ]
103103 assert_array_almost_equal (x , xinv , decimal = 3 )
104104 # normal equations with weight and small regularization
@@ -110,7 +110,7 @@ def test_NormalEquationsInversion(par):
110110 epsI = 1e-5 ,
111111 epsRs = [1e-8 ],
112112 x0 = x0 ,
113- ** dict (maxiter = 200 , tol = 1e-10 )
113+ ** dict (maxiter = 200 , atol = 1e-10 )
114114 )[0 ]
115115 assert_array_almost_equal (x , xinv , decimal = 3 )
116116 # normal equations with weight and small normal regularization
@@ -123,7 +123,7 @@ def test_NormalEquationsInversion(par):
123123 epsI = 1e-5 ,
124124 epsNRs = [1e-8 ],
125125 x0 = x0 ,
126- ** dict (maxiter = 200 , tol = 1e-10 )
126+ ** dict (maxiter = 200 , atol = 1e-10 )
127127 )[0 ]
128128 assert_array_almost_equal (x , xinv , decimal = 3 )
129129
@@ -192,7 +192,7 @@ def test_WeightedInversion(par):
192192 y = Gop * x
193193
194194 xne = normal_equations_inversion (
195- Gop , y , None , Weight = Weigth , ** dict (maxiter = 5 , tol = 1e-10 )
195+ Gop , y , None , Weight = Weigth , ** dict (maxiter = 5 , atol = 1e-10 )
196196 )[0 ]
197197 xreg = regularized_inversion (
198198 Gop , y , None , Weight = Weigth1 , ** dict (damp = 0 , iter_lim = 5 , show = 0 )
0 commit comments