Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
ikondov committed May 21, 2024
1 parent da98c0d commit 0eb2019
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pint/testsuite/test_numpy_func.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def test_correlate(self):
a = self.Q_(np.array([1, 2, 3]), "m")
v = self.Q_(np.array([0, 1, 0.5]), "s")
res = np.correlate(a, v, "full")
ref = np.array([0.5, 2., 3.5, 3., 0.])
ref = np.array([0.5, 2.0, 3.5, 3.0, 0.0])
assert np.array_equal(res.magnitude, ref)
assert res.units == "meter * second"

Expand Down

0 comments on commit 0eb2019

Please sign in to comment.