Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ jobs:
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
- uses: coverallsapp/github-action@master
- uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: lcov.info
path-to-lcov: lcov.info
fail-on-error: false
2 changes: 1 addition & 1 deletion src/HetaSimulator.jl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module HetaSimulator

# diffeq-related pkgs
using SciMLBase
using SciMLBase.RecursiveArrayTools: VectorOfArray, vecarr_to_vectors, DiffEqArray, ArrayPartition #, NamedArrayPartition
using SciMLBase.RecursiveArrayTools: VectorOfArray, vecarr_to_vectors, DiffEqArray, ArrayPartition, copyat_or_push! #, NamedArrayPartition
@reexport using SciMLBase.EnsembleAnalysis
@reexport using OrdinaryDiffEq
using Sundials
Expand Down
4 changes: 2 additions & 2 deletions src/saving.jl
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function (affect!::SavingEvent)(integrator,force_save = false; scope = :ode_)
curt = pop!(affect!.saveat) # current time

if curt != integrator.t # If <t, interpolate
if typeof(integrator) <: OrdinaryDiffEq.ODEIntegrator
if typeof(integrator) <: SciMLBase.AbstractODEIntegrator
# Expand lazy dense for interpolation
SciMLBase.addsteps!(integrator)
end
Expand Down Expand Up @@ -141,7 +141,7 @@ function save_after_step!(integrator, scope = :ode_)
curu = integrator(curt)

if curt != integrator.t # If <t, interpolate
if typeof(integrator) <: OrdinaryDiffEq.ODEIntegrator
if typeof(integrator) <: SciMLBase.AbstractODEIntegrator
# Expand lazy dense for interpolation
SciMLBase.addsteps!(integrator)
end
Expand Down
Loading