Skip to content

Commit 8a177ff

Browse files
fixup! refactor: default allow_algebraic to fully_determined
1 parent 8f8bf39 commit 8a177ff

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/systems/systemstructure.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -710,9 +710,7 @@ function _structural_simplify!(state::TearingState, io; simplify = false,
710710
else
711711
input_idxs = 0:-1 # Empty range
712712
end
713-
# use `false` for alias elimination since it doesn't really care about `allow_alebraic`
714-
# anyway
715-
_allow_algebraic = something(allow_algebraic, false)
713+
_allow_algebraic = something(allow_algebraic, true)
716714
sys, mm = ModelingToolkit.alias_elimination!(
717715
state; allow_symbolic, allow_algebraic = _allow_algebraic, kwargs...)
718716
if check_consistency

0 commit comments

Comments
 (0)