Closed bclyons12 closed 8 months ago
Yes, this is a bug.
I should have a fix merged and a new version tagged shortly, thanks!
There's still an issue if the bounds are approximately machine precision apart. Perhaps you need isapprox
instead of ==
?
DomainError with 0.9999999999999996:
roundoff error detected near endpoint of the initial interval (0.9999999999999996, 1.0)
@stevengj I can't reopen this issue is seems. Let me know if you'd like me to make a new one
Can you open a new one?
Nevermind, I just filed a PR.
I used to be able to do
Doing an integral where the upper and lower bound were identical gave the answer 0.0, as expected. After upgrading to v2.9.2, I get the error:
which seems to be caused by https://github.com/JuliaMath/QuadGK.jl/pull/91 .
Is there anyway to restore the functionality to accept identical lower and upper bounds? The above function is just an MWE, but it's not uncommon to have an integral inside a function where the lower bound is an argument and can vary to the upper bound.