Skip to content

Commit

Permalink
Oh yeah, add this trick too
Browse files Browse the repository at this point in the history
  • Loading branch information
eriknw committed Apr 14, 2022
1 parent ef6e61a commit 784f0fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions graphblas/__init__.py
Expand Up @@ -145,6 +145,8 @@ def _init(backend_arg, blocking, automatic=False):
if blocking is None:
blocking = False
passed_params["blocking"] = blocking
for attr in dir(lib):
getattr(lib, attr)
initialize(blocking=blocking, memory_manager="numpy")
else:
raise ValueError(f'Bad backend name. Must be "suitesparse". Got: {backend}')
Expand Down

0 comments on commit 784f0fd

Please sign in to comment.