From 291adfa3ea255386a7122c656b8bfbae9cee6641 Mon Sep 17 00:00:00 2001 From: fjosw Date: Mon, 18 Jul 2022 15:47:08 +0000 Subject: [PATCH] Documentation updated --- docs/pyerrors/fits.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pyerrors/fits.html b/docs/pyerrors/fits.html index 35d29dd1..891115a6 100644 --- a/docs/pyerrors/fits.html +++ b/docs/pyerrors/fits.html @@ -589,7 +589,7 @@ 486 condn = np.linalg.cond(corr) 487 if condn > 0.1 / np.finfo(float).eps: 488 raise Exception(f"Cannot invert correlation matrix as its condition number exceeds machine precision ({condn:1.2e})") -489 if condn > 1 / np.sqrt(np.finfo(float).eps): +489 if condn > 1e13: 490 warnings.warn("Correlation matrix may be ill-conditioned, condition number: {%1.2e}" % (condn), RuntimeWarning) 491 chol = np.linalg.cholesky(corr) 492 chol_inv = scipy.linalg.solve_triangular(chol, covdiag, lower=True)