Skip to content

Commit 6ee809d

Browse files
philippemironPhilippe Miron
andauthored
typo (#328)
Co-authored-by: Philippe Miron <[email protected]>
1 parent c3fa7eb commit 6ee809d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clouddrift/kinematics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ def position_from_velocity(
459459
# Velocity arrays must have the same shape.
460460
# Although the exception would be raised further down in the function,
461461
# we do the check here for a clearer error message.
462-
if not u.shape == u.shape:
462+
if not u.shape == v.shape:
463463
raise ValueError("u and v must have the same shape.")
464464

465465
# time_axis must be in valid range

0 commit comments

Comments
 (0)