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 063047f commit cefb8c6Copy full SHA for cefb8c6
nibabel/cifti2/cifti2_axes.py
@@ -604,7 +604,7 @@ def __eq__(self, other):
604
self.volume_shape == other.volume_shape) and
605
self.nvertices == other.nvertices and
606
np.array_equal(self.name, other.name) and
607
- np.array_equal(self.voxel[~self.surface_mask], other.voxel[~other.surface_mask]) and
+ np.array_equal(self.voxel[self.volume_mask], other.voxel[self.volume_mask]) and
608
np.array_equal(self.vertex[self.surface_mask], other.vertex[other.surface_mask])
609
)
610
0 commit comments