We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3fa7eb commit 6ee809dCopy full SHA for 6ee809d
clouddrift/kinematics.py
@@ -459,7 +459,7 @@ def position_from_velocity(
459
# Velocity arrays must have the same shape.
460
# Although the exception would be raised further down in the function,
461
# we do the check here for a clearer error message.
462
- if not u.shape == u.shape:
+ if not u.shape == v.shape:
463
raise ValueError("u and v must have the same shape.")
464
465
# time_axis must be in valid range
0 commit comments