-
Notifications
You must be signed in to change notification settings - Fork 56
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
Unify use of an atol
when comparing to zero
#692
Conversation
Ah, one thing that is a bit tricky here is that without the |
Locally the tests run fine by now – here it seems on Julia 1.10 there is a problem with DiffEq (again?). |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #692 +/- ##
=======================================
Coverage 99.57% 99.57%
=======================================
Files 108 108
Lines 10677 10708 +31
=======================================
+ Hits 10632 10663 +31
Misses 45 45 ☔ View full report in Codecov by Sentry. |
BoundaryValueDiffEq.jl again 😞 |
I've opened an issue: SciML/BoundaryValueDiffEq.jl#148 |
With the last fix it really runs locally just fine (probably with an older version of BoundaryValueEq still), that is indeed a bit annoying. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything else looks fine 👍
Co-authored-by: Mateusz Baran <[email protected]>
@kellertuer could you check if there is anything else to adapt due to JuliaManifolds/ManifoldsBase.jl#177 ? |
At first glance there might be two further things (but I am on mobile)
|
The most common use case for extrinsic estimation is when the embedding in Euclidean and we use EfficientEstimator there. |
Sure that also sounds like a very good default. I think I just saw the gradient one somewhere, but yours is indeed maybe the more common case. |
…oldsBase 0.15.6 ...but they were never overwritten anywhere anyways.
Co-authored-by: Mateusz Baran <[email protected]>
…/Manifolds.jl into kellertuer/fix-isapproxes
…ation median and mean.
The new approximation methods and their dispatch should now be fixed. I also circumvent the inconsistency from StatsBase for now, which mainly means we have a bit of code that can be considered duplication (if StatsBase would not be inconsistent). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool, it looks almost ready 👍
Co-authored-by: Mateusz Baran <[email protected]>
Co-authored-by: Mateusz Baran <[email protected]>
As discussed therein, this fixes #630.
I carefully went through all
isapprox
and as soon as there was a comparison to zero, I adapted from existing cases a nonzeroatol
in the signature and passed that down.this still needs a bit of checks for failing tests, but should work otherwise I hope.