Skip to content

Commit 0386719

Browse files
oestebaneffigies
andcommitted
Apply suggestions from code review
Co-authored-by: Chris Markiewicz <[email protected]>
1 parent c393b08 commit 0386719

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nitransforms/nonlinear.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def __eq__(self, other):
140140
True
141141
142142
"""
143-
_eq = np.allclose(self._field, other._field, rtol=EQUALITY_TOL)
143+
_eq = np.array_equal(self._field, other._field)
144144
if _eq and self._reference != other._reference:
145145
warnings.warn("Fields are equal, but references do not match.")
146146
return _eq

0 commit comments

Comments
 (0)