Closed ranocha closed 3 months ago
:warning: Please install the to ensure uploads and comments are reliably processed by Codecov.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 98.09%. Comparing base (
6845b50
) to head (787d8a5
).
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Do you understand the error below, @SKopecz?
┌ Error: failed to run `@example` block in src/index.md:173-178
│ ```@example SIR
│ using Plots
│
│ plot(sol, label = ["S" "I" "R"], legend=:right)
│ plot!(sol, idxs = ((t, S, I, R) -> (t, S + I + R), 0, 1, 2, 3), label = "S+I+R") #Plot S+I+R over time.
│ ```
│ exception =
│ Incorrect specification of `idxs`
I have not changed this part of the docs and it worked before...
You could test that by forcing SciMLBase@2.44.0.
Good idea. It's running in #114
Yes, that's the issue: https://github.com/SciML/SciMLBase.jl/issues/746
Re-running CI so that we can check the results with the latest version of SciML including a bug fix.
No, didn't help...
I'd suggest to discard the line plot!(sol, idxs = ((t, S, I, R) -> (t, S + I + R), 0, 1, 2, 3), label = "S+I+R")
in the docs. I find the syntax idxs = ((t, S, I, R) -> (t, S + I + R), 0, 1, 2, 3)
rather cumbersome. Instead we could use something like
plot!(sol.t,sum.(sol.u), label = "S+I+R")
I'd suggest to discard the line
plot!(sol, idxs = ((t, S, I, R) -> (t, S + I + R), 0, 1, 2, 3), label = "S+I+R")
in the docs. I find the syntaxidxs = ((t, S, I, R) -> (t, S + I + R), 0, 1, 2, 3)
rather cumbersome. Instead we could use something likeplot!(sol.t,sum.(sol.u), label = "S+I+R")
This function is required for some interoperability with Trixi.jl.
CC @jmbender