We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cda882 commit 3e6a8f7Copy full SHA for 3e6a8f7
suitesparse_graphblas/__init__.py
@@ -5,8 +5,7 @@
5
6
def is_initialized():
7
"""Is GraphBLAS initialized via GrB_init or GxB_init?"""
8
- fmt = ffi.new("GxB_Format_Value*")
9
- return lib.GxB_Global_Option_get(lib.GxB_FORMAT, fmt) != lib.GrB_PANIC
+ return lib.GxB_Global_Option_get(lib.GxB_MODE, ffi.new("GrB_Mode*")) != lib.GrB_PANIC
10
11
12
def initialize(*, blocking=False, memory_manager="numpy"):
0 commit comments