Skip to content

Commit

Permalink
np.bool is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminpope committed Sep 1, 2024
1 parent 2e1ff6c commit 9644a83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gp.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def _compute_alpha(self, y=None):
def _get_mask(self, t1, t2, splits=None):
"""Creates a covariance matrix mask based on a list of splits in time."""
splits = self.splits if splits is None else splits
mask = zeros((t1.size,t2.size), np.bool)
mask = zeros((t1.size,t2.size), bool)

o1,o2 = 0, 0
for split in splits:
Expand Down

0 comments on commit 9644a83

Please sign in to comment.