Skip to content

Commit 3c2af16

Browse files
fixup! refactor: get System to precompile in a trivial case
1 parent 38b72ad commit 3c2af16

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/systems/system.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,7 @@ function default_consolidate(costs, subcosts)
332332
return _sum_costs(costs) + _sum_costs(subcosts)
333333
end
334334

335+
unwrap_vars(x) = unwrap_vars(collect(x))
335336
unwrap_vars(vars::AbstractArray{SymbolicT}) = vars
336337
function unwrap_vars(vars::AbstractArray)
337338
result = similar(vars, SymbolicT)

0 commit comments

Comments
 (0)