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 c393b08 commit 0386719Copy full SHA for 0386719
nitransforms/nonlinear.py
@@ -140,7 +140,7 @@ def __eq__(self, other):
140
True
141
142
"""
143
- _eq = np.allclose(self._field, other._field, rtol=EQUALITY_TOL)
+ _eq = np.array_equal(self._field, other._field)
144
if _eq and self._reference != other._reference:
145
warnings.warn("Fields are equal, but references do not match.")
146
return _eq
0 commit comments