Skip to content

Commit e2d0a57

Browse files
committed
Increase numerical threshold for test_mean
The two tests slightly exceeding the threshold from 1000*epsilion(1._dp): 1. sum( abs( mean(cd3,2) - sum(cd3,2)/real(size(cd3,2), dp) )) 2. sum( abs( mean(d4,2) - sum(d4,2)/real(size(d4,2), dp) ))
1 parent cff0121 commit e2d0a57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tests/stats/test_mean.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ program test_mean
77
implicit none
88

99
real(sp), parameter :: sptol = 1000 * epsilon(1._sp)
10-
real(dp), parameter :: dptol = 1000 * epsilon(1._dp)
10+
real(dp), parameter :: dptol = 2000 * epsilon(1._dp)
1111

1212
real(sp) :: s1(3) = [1.0_sp, 2.0_sp, 3.0_sp]
1313

0 commit comments

Comments
 (0)