Skip to content

Commit

Permalink
Use Clong
Browse files Browse the repository at this point in the history
  • Loading branch information
YingboMa committed Jul 2, 2020
1 parent 19a8e1f commit 418af61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
@@ -1,7 +1,7 @@
name = "Sundials"
uuid = "c3572dad-4567-51f8-b174-8c6c989267f4"
authors = ["Chris Rackauckas <accounts@chrisrackauckas.com>"]
version = "4.2.4"
version = "4.2.5"

[deps]
CEnum = "fa961155-64e5-5f13-b03f-caf6b980ea82"
Expand Down
2 changes: 1 addition & 1 deletion src/common_interface/solve.jl
Expand Up @@ -1167,7 +1167,7 @@ end

function DiffEqBase.solve!(integrator::AbstractSundialsIntegrator)
uType = eltype(integrator.sol.u)
iters = Ref(-1)
iters = Ref(Clong(-1))
while !isempty(integrator.opts.tstops)
# Sundials can have floating point issues approaching a tstop if
# there is a modifying event each
Expand Down

0 comments on commit 418af61

Please sign in to comment.