diff --git a/MinkowskiEngine/MinkowskiTensorField.py b/MinkowskiEngine/MinkowskiTensorField.py index 6120904f..d47b09ba 100644 --- a/MinkowskiEngine/MinkowskiTensorField.py +++ b/MinkowskiEngine/MinkowskiTensorField.py @@ -315,7 +315,7 @@ def sparse( ) N_rows = self._manager.size(coordinate_map_key) - assert N_rows > 0, f"Invalid out coordinate map key. Found {N_row} elements." + assert N_rows > 0, f"Invalid out coordinate map key. Found {N_rows} elements." if len(inverse_mapping) == 0: # When the input has the same shape as the output