explain dtype comparison
@@ -380,6 +380,7 @@ class SanitizeImage(SimpleInterface):
"""
if (self.inputs.force_float32 and np.dtype(img.get_data_dtype()).itemsize > 4) or self.inputs.n_volumes_to_discard:
+ # force float32 only if 64 bit dtype is detected
if (self.inputs.force_float32 and np.dtype(img.get_data_dtype()).itemsize > 4):
in_data = img.get_fdata(dtype=np.float32)
else:
