Skip to content

Commit fd7cb70

Browse files
Update lib/OrdinaryDiffEqStabilizedIRK/src/irkc_perform_step.jl
1 parent aeafc10 commit fd7cb70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/OrdinaryDiffEqStabilizedIRK/src/irkc_perform_step.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ function perform_step!(integrator, cache::IRKCCache, repeat_step = false)
156156
# The the number of degree for Chebyshev polynomial
157157
#maxm = max(2,int(floor(sqrt(integrator.opts.internalnorm(integrator.opts.reltol,t)/(10 *eps(integrator.opts.internalnorm(uprev,t)))))))
158158
maxm = 50
159-
mdeg = 1 + floor(Int, sqrt(1.54 * abs(dt) * integrator.eigen_est + 1))
159+
mdeg = 1 + Int(floor(sqrt(1.54 * abs(dt) * integrator.eigen_est + 1)))
160160
mdeg = clamp(mdeg, minm, maxm)
161161

162162
ω₀ = 1 + 2 / (13 * (mdeg^2))

0 commit comments

Comments
 (0)