Skip to content

Commit

Permalink
numpy ComplexWarning
Browse files Browse the repository at this point in the history
  • Loading branch information
nico-canta committed Sep 9, 2024
1 parent b196f2b commit f8d893a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion astrovascpy/bloodflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

# PETSc is compiled with complex number support
# -> many warnings from/to PETSc to/from NumPy/SciPy
warnings.filterwarnings(action="ignore", category=np.ComplexWarning)
warnings.filterwarnings(action="ignore", category=np.exceptions.ComplexWarning)

print = partial(print, flush=True)

Expand Down

0 comments on commit f8d893a

Please sign in to comment.