We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
System
1 parent 38b72ad commit 3c2af16Copy full SHA for 3c2af16
src/systems/system.jl
@@ -332,6 +332,7 @@ function default_consolidate(costs, subcosts)
332
return _sum_costs(costs) + _sum_costs(subcosts)
333
end
334
335
+unwrap_vars(x) = unwrap_vars(collect(x))
336
unwrap_vars(vars::AbstractArray{SymbolicT}) = vars
337
function unwrap_vars(vars::AbstractArray)
338
result = similar(vars, SymbolicT)
0 commit comments