Skip to content

Commit

Permalink
Fix: np.bool is deprecated since numpy 1.20. Use built-in bool in…
Browse files Browse the repository at this point in the history
  • Loading branch information
r-radloff committed Dec 7, 2023
1 parent 806ef8a commit f0cedcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion diffractionimaging/correlations.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def decorator(f):

@functools.wraps(f)
def ret(img):
if not img.dtype == np.bool:
if not img.dtype == bool:
# print('no cache')
# kein Caching
return f(img)
Expand Down

0 comments on commit f0cedcd

Please sign in to comment.