Skip to content

Commit

Permalink
Merge pull request #279 from SciML/jd/fix_formatting
Browse files Browse the repository at this point in the history
run formatter
  • Loading branch information
jd-lara authored Aug 20, 2020
2 parents 0e088b5 + d2a224c commit 3fa20aa
Show file tree
Hide file tree
Showing 32 changed files with 2,393 additions and 1,589 deletions.
22 changes: 17 additions & 5 deletions src/Sundials.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,30 @@ const Ctime_t = UInt
const Cclock_t = UInt
export Ctm, Ctime_t, Cclock_t

const warnkeywords =
(:save_idxs, :d_discontinuities, :isoutofdomain, :unstable_check,
:calck, :internalnorm, :gamma, :beta1, :beta2, :qmax, :qmin, :qoldinit)
const warnkeywords = (
:save_idxs,
:d_discontinuities,
:isoutofdomain,
:unstable_check,
:calck,
:internalnorm,
:gamma,
:beta1,
:beta2,
:qmax,
:qmin,
:qoldinit,
)

function __init__()
global warnlist = Set(warnkeywords)
global warnida = union(warnlist, Set((:dtmin,)))
global warnida = union(warnlist, Set((:dtmin,)))
end

using Sundials_jll

export solve, SundialsODEAlgorithm, SundialsDAEAlgorithm, ARKODE, CVODE_BDF, CVODE_Adams, IDA
export solve,
SundialsODEAlgorithm, SundialsDAEAlgorithm, ARKODE, CVODE_BDF, CVODE_Adams, IDA

# some definitions from the system C headers wrapped into the types_and_consts.jl
const DBL_MAX = prevfloat(Inf)
Expand Down
Loading

0 comments on commit 3fa20aa

Please sign in to comment.