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 c331d67 commit 1152f04Copy full SHA for 1152f04
src/tests/stats/test_distribution_uniform.fypp
@@ -82,7 +82,7 @@ program test_distribution_uniform
82
end do
83
chisq = 0.0_dp
84
expct = num / 1000
85
- do i = 0, 999
+ do i = 0, array_size - 1
86
chisq = chisq + (freq(i) - expct) ** 2 / expct
87
88
write(*,*) "The critical values for chi-squared with 1000 d. of f. are" &
0 commit comments