Skip to content

Conversation

@lamorton
Copy link
Contributor

This slaps a bandaid on the issue. It would probably be good to add a test.

@YingboMa YingboMa requested a review from ChrisRackauckas May 21, 2021 01:25
@codecov
Copy link

codecov bot commented May 21, 2021

Codecov Report

Merging #62 (192cfdf) into master (443e151) will not change coverage.
The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #62   +/-   ##
=======================================
  Coverage   11.02%   11.02%           
=======================================
  Files          39       39           
  Lines        2849     2849           
=======================================
  Hits          314      314           
  Misses       2535     2535           
Impacted Files Coverage Δ
src/solutions/solution_interface.jl 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 443e151...192cfdf. Read the comment docs.

@ChrisRackauckas ChrisRackauckas merged commit 002136e into SciML:master May 21, 2021
ChrisRackauckas added a commit that referenced this pull request May 23, 2021
```julia
using DifferentialEquations, Plots
function SIR!(du,u,pars,t)
    S, I, R = u
    β, γ = pars
    dS = -β*S*I
    dI = β*S*I - γ*I
    dR = γ*I
    du .= [dS, dI, dR]
end
u0 = [0.97, 0.03, 0.0]
params = [0.5, 0.15]
tspan = [0.0, 50.0]
prob = ODEProblem(SIR!, u0, tspan, params);
sol = solve(prob, Tsit5(), saveat = 0:0.5:50, reltol = 1e-4, abstol = 1e-6)
plot(sol)
```
@lamorton lamorton deleted the fix_plot_saveat branch July 7, 2021 04:46
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

Successfully merging this pull request may close these issues.

2 participants