Skip to content

Commit 3957861

Browse files
committed
Fix typo
1 parent 410dbb3 commit 3957861

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

quaddtype/tests/test_quaddtype.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def test_array_minmax(op, a, b):
102102
# e.g. min(+0.0, -0.0) = -0.0
103103
if float_a == 0.0 and float_b == 0.0:
104104
assert float_res == 0.0
105-
float_res = np.copysign(0.0, op_fun(np.copysign(1.0, float_a), np.copysign(1.0, float_b)))
105+
float_res = np.copysign(0.0, op_func(np.copysign(1.0, float_a), np.copysign(1.0, float_b)))
106106

107107
np.testing.assert_array_equal(quad_res.astype(float), float_res)
108108

@@ -128,7 +128,7 @@ def test_array_aminmax(op, a, b):
128128
# e.g. min(+0.0, -0.0) = -0.0
129129
if float(a) == 0.0 and float(b) == 0.0:
130130
assert float_res == 0.0
131-
float_res = np.copysign(0.0, op_fun(np.array([np.copysign(1.0, float(a)), np.copysign(1.0, float(b))])))
131+
float_res = np.copysign(0.0, op_func(np.array([np.copysign(1.0, float(a)), np.copysign(1.0, float(b))])))
132132

133133
np.testing.assert_array_equal(np.array(quad_res).astype(float), float_res)
134134

0 commit comments

Comments
 (0)