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

Error root #453

Open
jmarcellopereira opened this issue Dec 28, 2024 · 1 comment
Open

Error root #453

jmarcellopereira opened this issue Dec 28, 2024 · 1 comment

Comments

@jmarcellopereira
Copy link

An error occurs when using Roots.jl to solve an equation, the result should be -2.0, not -1.58. The error only occurs when I use uncertainties.

using Measurements, Roots

a = measurement(1.0 , 0.1)
b = measurement(-3.0 , 0.1)
c = measurement(-10.0, 0.1)

f(x) = ax^2 + bx + c

find_zero(f, measurement(0.0, 0.1))

−1.58±0.12

@jverzani
Copy link
Member

Thanks for the report. I'll investigate soon.

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

No branches or pull requests

2 participants