Closed avik-pal closed 1 month ago
Now cache.stats
gives the total counts correctly. For polyalgorithms this means we get the accumulated stats from all the solve calls.
cc @oscardssmith because you needed this in OrdinaryDiffEq.
Attention: Patch coverage is 94.28571%
with 4 lines
in your changes are missing coverage. Please review.
Project coverage is 86.42%. Comparing base (
86bb307
) to head (50aa5c4
). Report is 2 commits behind head on master.
Files | Patch % | Lines |
---|---|---|
src/default.jl | 75.00% | 1 Missing :warning: |
src/descent/steepest.jl | 0.00% | 1 Missing :warning: |
src/internal/jacobian.jl | 87.50% | 1 Missing :warning: |
src/internal/operators.jl | 66.66% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This change appears to have broken https://github.com/SciML/OrdinaryDiffEq.jl/pull/2167. Do you want to make the corresponding OrdinaryDiffEq change or should I?
Can you do it? I am not sure what broke, this was a purely internal API change
will do. The problem was that OrdinaryDiffEq with NonlinearSolveAlg runs the step!(cache)
loops of a nonlinear solver itself and was using nf
to determine how many calls the step!
had made to update the integrator's stats.
Fixes #410
Oops lost my local changes it seems...
Merge after https://github.com/SciML/NonlinearSolve.jl/pull/435