Skip to content

Commit

Permalink
fix numpy alias bool
Browse files Browse the repository at this point in the history
  • Loading branch information
Jammy2211 committed Oct 16, 2023
1 parent 3a290fb commit e878383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoarray/util/fnnls.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def fnnls_cholesky(
no_update = 0
loop_count = 0

P = np.zeros(n, dtype=np.bool)
P = np.zeros(n, dtype=bool)
P[P_initial] = True
d = np.zeros(n)
w = ZTx - (ZTZ) @ d
Expand Down

0 comments on commit e878383

Please sign in to comment.