Skip to content

Commit

Permalink
fixed bug in assert statement in Tensorfield NVIDIA#581
Browse files Browse the repository at this point in the history
  • Loading branch information
sh-shahrokhi committed Mar 30, 2024
1 parent 56f0c94 commit 5d2f12c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MinkowskiEngine/MinkowskiTensorField.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5d2f12c

Please sign in to comment.