Skip to content

Commit

Permalink
Increase tolereance on matrix compare for linearization cases
Browse files Browse the repository at this point in the history
GH actions passed the test, but running locally with an older gcc version did not.
  • Loading branch information
andrew-platt committed May 9, 2024
1 parent 8e483bb commit b50e344
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reg_tests/executeOpenfastLinearRegressionCase.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b50e344

Please sign in to comment.