Skip to content

Commit

Permalink
reset cashed cholesky value if re-run computation oh hyperparameters
Browse files Browse the repository at this point in the history
  • Loading branch information
PFLeget committed May 16, 2024
1 parent 3ed365d commit c1bb047
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions treegp/gp_interp.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ def _fit(self, kernel, X, y, y_err):
:param y: Values of the field. (n_samples)
:param y_err: Error of y. (n_samples)
"""
self._alpha = None
if self.optimizer != "none":
# Hyperparameters estimation using 2-point correlation
# function information.
Expand Down

0 comments on commit c1bb047

Please sign in to comment.