Skip to content

Commit 2a9204f

Browse files
refactor: disable treating symbolic defaults as param dependencies
1 parent 043274f commit 2a9204f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/systems/index_cache.jl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,13 @@ function IndexCache(sys::AbstractSystem)
7777
end
7878
end
7979

80-
all_ps = Set(unwrap.(parameters(sys)))
81-
for (sym, value) in defaults(sys)
82-
sym = unwrap(sym)
83-
if sym in all_ps && symbolic_type(unwrap(value)) !== NotSymbolic()
84-
insert_by_type!(dependent_buffers, sym)
85-
end
86-
end
80+
# all_ps = Set(unwrap.(parameters(sys)))
81+
# for (sym, value) in defaults(sys)
82+
# sym = unwrap(sym)
83+
# if sym in all_ps && symbolic_type(unwrap(value)) !== NotSymbolic()
84+
# insert_by_type!(dependent_buffers, sym)
85+
# end
86+
# end
8787

8888
for p in parameters(sys)
8989
p = unwrap(p)

0 commit comments

Comments
 (0)