Skip to content

Commit 3bbe102

Browse files
committed
Fix state reconstruction
1 parent e8d5ca7 commit 3bbe102

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systems/alias_elimination.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function alias_elimination(sys)
5454

5555
newstates = []
5656
sts = states(sys)
57-
for j in eachindex(sts)
57+
for j in eachindex(fullvars)
5858
if isirreducible(v_types, j)
5959
isdervar(s, j) || push!(newstates, fullvars[j])
6060
end

0 commit comments

Comments
 (0)