Skip to content

Commit

Permalink
Use Clong (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
YingboMa authored Jul 2, 2020
1 parent 19a8e1f commit 4df6793
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Sundials"
uuid = "c3572dad-4567-51f8-b174-8c6c989267f4"
authors = ["Chris Rackauckas <[email protected]>"]
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
Original file line number Diff line number Diff line change
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

2 comments on commit 4df6793

@YingboMa
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/17350

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v4.2.5 -m "<description of version>" 4df67937914fc82d771353cddb219b17d66aa3e8
git push origin v4.2.5

Please sign in to comment.