Skip to content

Adapt engine stopping criteria to test precision #1210

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 2, 2025

Conversation

vidaldid-rte
Copy link
Collaborator

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • A PR or issue has been opened in all impacted repositories (if any)

Does this PR already have an issue describing the problem?
No

What kind of change does this PR introduce?
A test fails in #1174 because the NR stopping criteria are larger thatn the epsilon used for result comparisons.
This test ensures stopping criteria are small enough so that the test is independent of the computation order.

What is the current behavior?
Test assertions not relevant because comparison precision is smaller than algorithm stopping criteria.

What is the new behavior (if this is a feature change)?
Test assertion precision consitent with algorithm stopping criteria. The tests is independant of the NR implementation.

Does this PR introduce a breaking change or deprecate an API?

  • Yes
  • [N] No

@vidaldid-rte vidaldid-rte merged commit 14e1757 into main Apr 2, 2025
8 checks passed
@vidaldid-rte vidaldid-rte deleted the fix_test_precision branch April 2, 2025 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants