Skip to content

Commit 13d6228

Browse files
committed
Fix iteration bounds in tearing_with_dummy_derivatives
1 parent a29b41e commit 13d6228

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/structural_transformation/partial_state_selection.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ function tearing_with_dummy_derivatives(structure, dummy_derivatives)
351351
Base.Fix1(isdiffed, (structure, dummy_derivatives)),
352352
Union{Unassigned, SelectedState};
353353
varfilter = Base.Fix1(getindex, can_eliminate))
354-
for v in eachindex(var_eq_matching)
354+
for v in 𝑑vertices(structure.graph)
355355
is_present(structure, v) || continue
356356
dv = var_to_diff[v]
357357
(dv === nothing || !is_some_diff(structure, dummy_derivatives, dv)) && continue

0 commit comments

Comments
 (0)