Skip to content

Commit

Permalink
np.int is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminpope committed Sep 1, 2024
1 parent d48f2b6 commit 31e45df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dtdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def create_training_set(self, nrandom=100, nblocks=5, bspan=50, max_tries=100):
"""
ids = where(self.mask)[0] ## Get the masked indices
bstarts = np.full(nblocks, -bspan, np.int) ## Starting indices for blocks
bstarts = np.full(nblocks, -bspan, int) ## Starting indices for blocks

## Chunks
## ------
Expand Down

0 comments on commit 31e45df

Please sign in to comment.