Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Feb 26, 2024
1 parent fb4b987 commit 16ce722
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/systems/diffeqs/abstractodesystem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,8 @@ function process_DEProblem(constructor, sys::AbstractODESystem, u0map, parammap;
# TODO: make check for if a DAE cheaper than calculating the mass matrix a second time!
ci = infer_clocks!(ClockInference(TearingState(sys)))
# TODO: make it work with clocks
if (implicit_dae || calculate_massmatrix(sys) !== I) && all(isequal(Continuous()),ci.var_domain)
if (implicit_dae || calculate_massmatrix(sys) !== I) &&
all(isequal(Continuous()), ci.var_domain)
initializeprob = ModelingToolkit.InitializationProblem(

Check warning on line 867 in src/systems/diffeqs/abstractodesystem.jl

View check run for this annotation

Codecov / codecov/patch

src/systems/diffeqs/abstractodesystem.jl#L867

Added line #L867 was not covered by tests
sys, u0map, parammap; guesses, warn_initialize_determined)
initializeprobmap = getu(initializeprob, unknowns(sys))
Expand Down

0 comments on commit 16ce722

Please sign in to comment.