Skip to content

fix error return in do_look_for_brackets - #1129

Open
zingale wants to merge 2 commits into
mainfrom
MZ/root_bracketing
Open

zingale wants to merge 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

This branch has not been deployed

No deployments
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.

1 participant