Skip to content

Commit beb5940

Browse files
committed
relax lstsq tol
1 parent 33559f5 commit beb5940

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/linalg/test_linalg_lstsq.fypp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ module test_linalg_least_squares
5656
call check(error,state%ok(),state%print())
5757
if (allocated(error)) return
5858

59-
call check(error, all(abs(p-ab)<1.0e-6_${rk}$), 'data converged')
59+
call check(error, all(abs(p-ab)<1.0e-4_${rk}$), 'data converged')
6060
if (allocated(error)) return
6161

6262
call check(error, rank==2, 'matrix rank == 2')
@@ -85,7 +85,7 @@ module test_linalg_least_squares
8585
call check(error,state%ok(),state%print())
8686
if (allocated(error)) return
8787

88-
call check(error, all(abs(x-xsol)<1.0e-6_${rk}$), 'data converged')
88+
call check(error, all(abs(x-xsol)<1.0e-4_${rk}$), 'data converged')
8989
if (allocated(error)) return
9090

9191
end subroutine test_lstsq_random_${ri}$

0 commit comments

Comments
 (0)