Skip to content
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

Force absolute difference mode for target values equal to zero #456

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

fwitte
Copy link
Member

@fwitte fwitte commented Dec 3, 2023

Newton helper functions can either use absolute or relative difference as convergence criteria. In case the target value is zero, relative difference does not make sense. The changes force absolute differences for these cases.

@fwitte fwitte merged commit eb6d1c5 into dev Dec 7, 2023
6 of 9 checks passed
@fwitte fwitte deleted the fix/newton-helpers-convergence branch January 21, 2024 17:54
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.

1 participant