From 5c7b47754fd3d6b91eac88c9285ab2bbc434f31f Mon Sep 17 00:00:00 2001 From: Avik Pal Date: Fri, 17 Nov 2023 10:31:46 -0500 Subject: [PATCH] Drop 1.6 due to DiffEqBase --- .github/workflows/CI.yml | 1 - Project.toml | 2 +- src/solve.jl | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 72d19e2..e25f4f8 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -15,7 +15,6 @@ jobs: - Core version: - '1' - - '1.6' steps: - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@v1 diff --git a/Project.toml b/Project.toml index 39567d4..3779784 100644 --- a/Project.toml +++ b/Project.toml @@ -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" diff --git a/src/solve.jl b/src/solve.jl index 0537768..f1d9140 100644 --- a/src/solve.jl +++ b/src/solve.jl @@ -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)