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 d2d42d3 commit 5d7085dCopy full SHA for 5d7085d
monai/transforms/spatial/array.py
@@ -517,7 +517,7 @@ def __call__(
517
dtype=dtype,
518
)
519
if self.recompute_affine and isinstance(data_array, MetaTensor):
520
- data_array.affine @= scale_affine(affine_, original_spatial_shape, actual_shape)
+ data_array.affine = scale_affine(affine_, original_spatial_shape, actual_shape)
521
return data_array
522
523
def inverse(self, data: torch.Tensor) -> torch.Tensor:
0 commit comments