We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1822e3f commit 4daf7daCopy full SHA for 4daf7da
src/tests/stats/test_mean_f03.f90
@@ -20,7 +20,7 @@ program test_mean
20
call check( sum( abs( mean(d,2) - sum(d,2)/real(size(d,2), dp) )) < dptol)
21
22
!dp rank 8
23
-allocate(d8(size(d,1), size(d,2), 3, 4, 5, 6, 7, 8))
+allocate(d8(size(d,1), size(d,2), 3, 4, 5, 6, 7, 8),source=0.0_dp)
24
d8(:, :, 1, 4, 5 ,6 ,7 ,8)=d;
25
d8(:, :, 2, 4, 5 ,6 ,7 ,8)=d * 1.5_dp;
26
d8(:, :, 3, 4, 5 ,6 ,7 ,8)=d * 4._dp;
0 commit comments