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 e61e7a0 commit 5eb5e54Copy full SHA for 5eb5e54
nibabel/testing/__init__.py
@@ -82,7 +82,7 @@ def assert_allclose_safely(a, b, match_nans=True, rtol=1e-5, atol=1e-8):
82
a = a.astype(float)
83
if b.dtype.kind in 'ui':
84
b = b.astype(float)
85
- np.testing.assert_allclose(a, b, rtol=rtol, atol=atol)
+ assert np.allclose(a, b, rtol=rtol, atol=atol)
86
87
88
def assert_arrays_equal(arrays1, arrays2):
0 commit comments