From 9a4808a9b2218c4aa1390f9371ece30496a79a19 Mon Sep 17 00:00:00 2001 From: Erik Welch Date: Tue, 21 Feb 2023 13:07:58 -0600 Subject: [PATCH] Fix complex arcsin test on Windows (#394) * Fix complex arcsin test on Windows --- graphblas/tests/test_numpyops.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/graphblas/tests/test_numpyops.py b/graphblas/tests/test_numpyops.py index fc24762bc..c528d4051 100644 --- a/graphblas/tests/test_numpyops.py +++ b/graphblas/tests/test_numpyops.py @@ -65,11 +65,11 @@ def test_npunary(): "INT64": {"reciprocal"}, "FC64": {"ceil", "floor", "trunc"}, } - if suitesparse and is_win: + if suitesparse and is_win and gb.config["mapnumpy"]: # asin and asinh are known to be wrong in SuiteSparse:GraphBLAS # due to limitation of MSVC with complex - blocklist["FC64"].update({"asin", "asinh"}) - blocklist["FC32"] = {"asin", "asinh"} + blocklist["FC64"].update({"arcsin", "arcsinh"}) + blocklist["FC32"] = {"arcsin", "arcsinh"} isclose = gb.binary.isclose(1e-6, 0) for gb_input, np_input in data: for unary_name in sorted(npunary._unary_names):