Skip to content

Commit

Permalink
relax test tolerance (gcc-12 failure)
Browse files Browse the repository at this point in the history
  • Loading branch information
perazz committed Nov 27, 2024
1 parent 523bf4c commit 098d9b8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/linalg/test_linalg_pseudoinverse.fypp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ module test_linalg_pseudoinverse

integer(ilp) :: i,j
integer(ilp), parameter :: n = 15_ilp
real(${rk}$), parameter :: tol = sqrt(epsilon(0.0_${rk}$))
real(${rk}$), parameter :: tol = 100*sqrt(epsilon(0.0_${rk}$))

${rt}$ :: a(n,n),inva(n,n)

Expand Down Expand Up @@ -85,7 +85,7 @@ module test_linalg_pseudoinverse

integer(ilp) :: failed
integer(ilp), parameter :: n = 10
real(${rk}$), parameter :: tol = sqrt(epsilon(0.0_${rk}$))
real(${rk}$), parameter :: tol = 100*sqrt(epsilon(0.0_${rk}$))
${rt}$ :: a(n, n), inva(n, n)
#:if rt.startswith('complex')
real(${rk}$) :: rea(n, n, 2)
Expand Down Expand Up @@ -119,7 +119,7 @@ module test_linalg_pseudoinverse

integer(ilp) :: failed
integer(ilp), parameter :: m = 20, n = 10
real(${rk}$), parameter :: tol = sqrt(epsilon(0.0_${rk}$))
real(${rk}$), parameter :: tol = 100*sqrt(epsilon(0.0_${rk}$))
${rt}$ :: a(m, n), inva(n, m)
#:if rt.startswith('complex')
real(${rk}$) :: rea(m, n, 2)
Expand Down Expand Up @@ -153,7 +153,7 @@ module test_linalg_pseudoinverse

integer(ilp) :: failed
integer(ilp), parameter :: m = 10, n = 20
real(${rk}$), parameter :: tol = sqrt(epsilon(0.0_${rk}$))
real(${rk}$), parameter :: tol = 100*sqrt(epsilon(0.0_${rk}$))
${rt}$ :: a(m, n), inva(n, m)
#:if rt.startswith('complex')
real(${rk}$) :: rea(m, n, 2)
Expand Down Expand Up @@ -187,7 +187,7 @@ module test_linalg_pseudoinverse

integer(ilp) :: failed
integer(ilp), parameter :: n = 10
real(${rk}$), parameter :: tol = sqrt(epsilon(0.0_${rk}$))
real(${rk}$), parameter :: tol = 100*sqrt(epsilon(0.0_${rk}$))
${rt}$ :: a(n, n), inva(n, n)
#:if rt.startswith('complex')
real(${rk}$) :: rea(n, n, 2)
Expand Down

0 comments on commit 098d9b8

Please sign in to comment.