diff --git a/docs/pyerrors/fits.html b/docs/pyerrors/fits.html
index f7ef19ee..bf2a81b7 100644
--- a/docs/pyerrors/fits.html
+++ b/docs/pyerrors/fits.html
@@ -580,7 +580,7 @@
477 if condn > 1 / np.sqrt(np.finfo(float).eps):
478 warnings.warn("Correlation matrix may be ill-conditioned, condition number: {%1.2e}" % (condn), RuntimeWarning)
479 chol = np.linalg.cholesky(corr)
-480 chol_inv = scipy.linalg.solve(chol, covdiag)
+480 chol_inv = scipy.linalg.solve_triangular(chol, covdiag, lower=True)
481
482 def chisqfunc_corr(p):
483 model = func(p, x)