Skip to content

linalg: slightly increase test tolerance #985

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 = 100*sqrt(epsilon(0.0_${rk}$))
real(${rk}$), parameter :: tol = 1000*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 = 100*sqrt(epsilon(0.0_${rk}$))
real(${rk}$), parameter :: tol = 1000*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 = 100*sqrt(epsilon(0.0_${rk}$))
real(${rk}$), parameter :: tol = 1000*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 = 100*sqrt(epsilon(0.0_${rk}$))
real(${rk}$), parameter :: tol = 1000*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 = 100*sqrt(epsilon(0.0_${rk}$))
real(${rk}$), parameter :: tol = 1000*sqrt(epsilon(0.0_${rk}$))
${rt}$ :: a(n, n), inva(n, n)
#:if rt.startswith('complex')
real(${rk}$) :: rea(n, n, 2)
Expand Down
Loading