Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
vyudu committed Dec 1, 2024
1 parent 86c82ce commit 4affeac
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/systems/diffeqs/abstractodesystem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -545,9 +545,7 @@ function SciMLBase.BVProblem{iip, specialize}(sys::AbstractODESystem, u0map = []

# Construct initial conditions
_u0 = prepare_initial_state(u0)
__u0 = if _u0 isa Function
_u0(t_i)
end
__u0 = _u0 isa Function ? _u0(tspan[1]) : _u0

# Define the boundary conditions
bc = if iip
Expand Down

0 comments on commit 4affeac

Please sign in to comment.