Skip to content

Commit

Permalink
Update src/systems/diffeqs/abstractodesystem.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Aayush Sabharwal <[email protected]>
  • Loading branch information
ChrisRackauckas and AayushSabharwal authored Jul 22, 2024
1 parent 3c23083 commit f44c3a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/systems/diffeqs/abstractodesystem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,7 @@ function process_DEProblem(constructor, sys::AbstractODESystem, u0map, parammap;
# TODO: make it work with clocks
# ModelingToolkit.get_tearing_state(sys) !== nothing => Requires structural_simplify first
if sys isa ODESystem && build_initializeprob &&
(((implicit_dae || !isempty(missingvars) || !isempty(setboserved)) &&
(((implicit_dae || !isempty(missingvars) || !isempty(setobserved)) &&
all(isequal(Continuous()), ci.var_domain) &&
ModelingToolkit.get_tearing_state(sys) !== nothing) ||
!isempty(initialization_equations(sys))) && t !== nothing
Expand Down

0 comments on commit f44c3a2

Please sign in to comment.