Skip to content

Commit 2121304

Browse files
committed
correction
1 parent 5e35830 commit 2121304

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/tests/stats/test_rawmoment.f90

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,11 @@ subroutine test_sp(x1, x2)
112112

113113
print*,' test_sp_3dim', order
114114
call assert( abs(moment(x3, order, center = 0.) - mean(x3)) < sptol)
115-
call assert( all( abs( moment(x3, order, dim = 1, center = 0.) -&
115+
call assert( all( abs( moment(x3, order, dim = 1, center = 0._sp) -&
116116
mean(x3, 1)) < sptol))
117-
call assert( all( abs( moment(x3, order, dim = 2, center = 0.) -&
117+
call assert( all( abs( moment(x3, order, dim = 2, center = 0._sp) -&
118118
mean(x3, 2)) < sptol))
119-
call assert( all( abs( moment(x3, order, dim = 3, center = 0.) -&
119+
call assert( all( abs( moment(x3, order, dim = 3, center = 0._sp) -&
120120
mean(x3, 3)) < sptol))
121121
call assert( all( abs( moment(x3, order, dim = 1, center = zero3_1) -&
122122
mean(x3, 1)) < sptol))

0 commit comments

Comments
 (0)