Skip to content

Commit

Permalink
fix commenté
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Saves committed Dec 3, 2024
1 parent 0172d95 commit 3cdb649
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion smt/surrogate_models/krg_based.py
Original file line number Diff line number Diff line change
Expand Up @@ -1855,7 +1855,6 @@ def _predict_variances(
else:
A = self.optimal_par["sigma2"]
B = 1.0 - (rt**2.0).sum(axis=0) + (u**2.0).sum(axis=0)
# machine precision: force to zero!
s2 = np.einsum("i,j -> ji", A, B)
# Mean Squared Error might be slightly negative depending on
# machine precision: force to zero!
Expand Down

0 comments on commit 3cdb649

Please sign in to comment.