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 adef7bd commit 0e1bed8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/systems/diffeqs/abstractodesystem.jl
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)))

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

View check run for this annotation

Codecov / codecov/patch

src/systems/diffeqs/abstractodesystem.jl#L863

Added line #L863 was not covered by tests
# 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) &&

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

View check run for this annotation

Codecov / codecov/patch

src/systems/diffeqs/abstractodesystem.jl#L865

Added line #L865 was not covered by tests
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 0e1bed8

Please sign in to comment.