Skip to content

Commit 54265bb

Browse files
committed
Add type-hints to adaptive/tests/test_learner1d.py
1 parent ec3649a commit 54265bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adaptive/tests/test_learner1d.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,8 @@ def f_vec(x, offset=0.123214):
277277
def assert_equal_dicts(d1, d2):
278278
xs1, ys1 = zip(*sorted(d1.items()))
279279
xs2, ys2 = zip(*sorted(d2.items()))
280-
ys1 = np.array(ys1, dtype=np.float)
281-
ys2 = np.array(ys2, dtype=np.float)
280+
ys1 = np.array(ys1, dtype=np.float64)
281+
ys2 = np.array(ys2, dtype=np.float64)
282282
np.testing.assert_almost_equal(xs1, xs2)
283283
np.testing.assert_almost_equal(ys1, ys2)
284284

0 commit comments

Comments
 (0)