Skip to content

Commit

Permalink
Fix complex arcsin test on Windows (python-graphblas#394)
Browse files Browse the repository at this point in the history
* Fix complex arcsin test on Windows
  • Loading branch information
eriknw authored Feb 21, 2023
1 parent 096d374 commit 9a4808a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions graphblas/tests/test_numpyops.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 9a4808a

Please sign in to comment.