Skip to content

Commit

Permalink
Update test_compwa_wrapper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-eschle authored Nov 1, 2024
1 parent e56b70e commit 810de75
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/compwa/test_compwa_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,5 +189,6 @@ def test_wrapper_simple_compwa():
result.hesse()
# print(result)
assert result.valid
assert result.fmin < fit_result.estimator_value # ComPWA doesn't minimize well, if this fails, we can relax it
tol = 0.05 # 10% of 1 sigma
assert result.fmin - tol < fit_result.estimator_value # ComPWA doesn't minimize well, if this fails, we can relax it
assert pytest.approx(result.fmin, abs=0.5) == fit_result.estimator_value

0 comments on commit 810de75

Please sign in to comment.