Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Jul 30, 2024
1 parent 8ee3a39 commit 8b8a6f8
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/systems/diffeqs/abstractodesystem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1526,11 +1526,15 @@ function InitializationProblem{iip, specialize}(sys::AbstractODESystem,
isys = get_initializesystem(sys; initialization_eqs)
elseif isempty(u0map) && get_initializesystem(sys) === nothing
isys = generate_initializesystem(sys; initialization_eqs)
_fully_determined = fully_determined === nothing ? length(equations(isys)) == length(unknowns(isys))
isys = structural_simplify(isys ; _fully_determined)
_fully_determined = fully_determined === nothing ?
length(equations(isys)) == length(unknowns(isys)) :
fully_determined
isys = structural_simplify(isys; _fully_determined)
else
isys = generate_initializesystem(sys; u0map, initialization_eqs)
_fully_determined = fully_determined === nothing ? length(equations(isys)) == length(unknowns(isys))
_fully_determined = fully_determined === nothing ?
length(equations(isys)) == length(unknowns(isys)) :
fully_determined
isys = structural_simplify(isys; _fully_determined)
end

Expand Down

0 comments on commit 8b8a6f8

Please sign in to comment.