Skip to content

Commit c9f1d90

Browse files
committed
Fix analytical solutions in BigFloat
1 parent 854eed9 commit c9f1d90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ode/ode_linear_prob.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ f_2dlinear = (du,u,p,t) -> begin
4343
du[i] = 1.01*u[i]
4444
end
4545
end
46-
(f::typeof(f_2dlinear))(::Type{Val{:analytic}},u0,p,t) = u0*exp.(1.01*t)
46+
(f::typeof(f_2dlinear))(::Type{Val{:analytic}},u0,p,t) = u0*exp.(linear_bigα*t)
4747
"""
4848
4x2 version of the Linear ODE
4949
@@ -83,7 +83,7 @@ f_2dlinearbig = (du,u,p,t) -> begin
8383
du[i] = linear_bigα*u[i]
8484
end
8585
end
86-
(f::typeof(f_2dlinearbig))(::Type{Val{:analytic}},u0,p,t) = u0*exp.(1.01*t)
86+
(f::typeof(f_2dlinearbig))(::Type{Val{:analytic}},u0,p,t) = u0*exp.(linear_bigα*t)
8787
"""
8888
4x2 version of the Linear ODE
8989

0 commit comments

Comments
 (0)