Skip to content

Commit

Permalink
Drop 1.6 due to DiffEqBase
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal committed Nov 17, 2023
1 parent efdc4a0 commit 5c7b477
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
- Core
version:
- '1'
- '1.6'
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ DiffEqBase = "6.140"
DiffEqCallbacks = "2.34"
Reexport = "0.2, 1.0"
SciMLBase = "2"
julia = "1.6"
julia = "1.9"

[extras]
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
Expand Down
4 changes: 2 additions & 2 deletions src/solve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ function DiffEqBase.__solve(prob::DiffEqBase.AbstractSteadyStateProblem, alg::Dy

if isinplace(prob)
du = similar(prob.u0)
f(du, prob.u0, prob.p, 0.0)
f(du, prob.u0, prob.p, first(tspan))
else
du = f(prob.u0, prob.p, 0.0)
du = f(prob.u0, prob.p, first(tspan))
end

tc_cache = init(du, prob.u0, termination_condition, last(tspan); abstol, reltol)
Expand Down

0 comments on commit 5c7b477

Please sign in to comment.