From b50e344413b1f2228003a1de68bad0809fb2a9fa Mon Sep 17 00:00:00 2001 From: andrew-platt Date: Wed, 8 May 2024 18:55:03 -0600 Subject: [PATCH] Increase tolereance on matrix compare for linearization cases GH actions passed the test, but running locally with an older gcc version did not. --- reg_tests/executeOpenfastLinearRegressionCase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reg_tests/executeOpenfastLinearRegressionCase.py b/reg_tests/executeOpenfastLinearRegressionCase.py index 9223304bef..a5be3055b7 100644 --- a/reg_tests/executeOpenfastLinearRegressionCase.py +++ b/reg_tests/executeOpenfastLinearRegressionCase.py @@ -88,7 +88,7 @@ def isclose(a, b, rtol=1e-09, atol=0.0): # is between 1e-3 and 1e-4. We allow a bit of margin and use rtol=2e-3 # Lin matrices have a lot of small values, so atol is quite important rtol = 2e-3 -atol = 1e-5 +atol = 2e-4 # --- Tolerances for frequencies # Low frequencies are hard to match, so we use a high atol