Skip to content

Commit

Permalink
Merge pull request #22 from YingboMa/myb/fix
Browse files Browse the repository at this point in the history
Fix analytical solutions in BigFloat
  • Loading branch information
ChrisRackauckas authored May 1, 2018
2 parents 854eed9 + c9f1d90 commit 8036db6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ode/ode_linear_prob.jl
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ f_2dlinear = (du,u,p,t) -> begin
du[i] = 1.01*u[i]
end
end
(f::typeof(f_2dlinear))(::Type{Val{:analytic}},u0,p,t) = u0*exp.(1.01*t)
(f::typeof(f_2dlinear))(::Type{Val{:analytic}},u0,p,t) = u0*exp.(linear_bigα*t)
"""
4x2 version of the Linear ODE
Expand Down Expand Up @@ -83,7 +83,7 @@ f_2dlinearbig = (du,u,p,t) -> begin
du[i] = linear_bigα*u[i]
end
end
(f::typeof(f_2dlinearbig))(::Type{Val{:analytic}},u0,p,t) = u0*exp.(1.01*t)
(f::typeof(f_2dlinearbig))(::Type{Val{:analytic}},u0,p,t) = u0*exp.(linear_bigα*t)
"""
4x2 version of the Linear ODE
Expand Down

0 comments on commit 8036db6

Please sign in to comment.