Skip to content

Commit

Permalink
Rename variables
Browse files Browse the repository at this point in the history
  • Loading branch information
lochhh committed Sep 9, 2024
1 parent 53f9f32 commit 925b17b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_unit/test_kinematics.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,9 @@ def test_cdist(
],
dims=["time", pairs[0], pairs[1]],
)
A = input_dataarray.sel({dim: pairs[0]})
B = input_dataarray.sel({dim: pairs[1]})
result = kinematics.cdist(A, B, dim)
a = input_dataarray.sel({dim: pairs[0]})
b = input_dataarray.sel({dim: pairs[1]})
result = kinematics.cdist(a, b, dim)
xr.testing.assert_equal(
result,
expected,
Expand Down

0 comments on commit 925b17b

Please sign in to comment.