Skip to content

fix error return in do_look_for_brackets - #1129

Merged
Debraheem merged 2 commits into
mainfrom
MZ/root_bracketing
Nov 26, 2026
Merged

Debraheem merged 2 commits into
mainfrom
MZ/root_bracketing

Conversation

@zingale

@zingale zingale commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator

previously, if it failed to find a bracket, it would return ierr equal to whatever the last function call gave (after exhausting iterations). Now the return error after exhaustion is reset to -1. This issue arises because both do_look_for_brackets and the function evaluation use the same ierr.

previously, if it failed to find a bracket, it would return ierr
equal to whatever the last function call gave (after exhausting
iterations).  Now the return error after exhaustion is reset to -1.
This issue arises because both do_look_for_brackets and the function
evaluation use the same ierr.
@zingale zingale added the numerics issues with math/num/mtx modules label Nov 19, 2026
@Debraheem
Debraheem merged commit 1d8633c into main Nov 26, 2026
5 checks passed
@zingale
zingale deleted the MZ/root_bracketing branch November 28, 2026 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

numerics issues with math/num/mtx modules

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants