Skip to content

Commit 688774b

Browse files
committed
changing a simple assert to np.isclose in test_icc_anova
1 parent 74bd3b8 commit 688774b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/algorithms/tests/test_icc_anova.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ def test_ICC_rep_anova():
1919
assert round(icc, 2) == 0.71
2020
assert dfc == 3
2121
assert dfe == 15
22-
assert r_var / (r_var + e_var) == icc
22+
assert np.isclose(r_var / (r_var + e_var), icc)

0 commit comments

Comments
 (0)