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.
reorder_parameters
1 parent 37b1cfd commit b8e8a8fCopy full SHA for b8e8a8f
src/systems/index_cache.jl
@@ -445,7 +445,8 @@ function check_index_map(idxmap, sym)
445
end
446
447
448
-function reorder_parameters(sys::AbstractSystem, ps; kwargs...)
+function reorder_parameters(
449
+ sys::AbstractSystem, ps = parameters(sys; initial_parameters = true); kwargs...)
450
if has_index_cache(sys) && get_index_cache(sys) !== nothing
451
reorder_parameters(get_index_cache(sys), ps; kwargs...)
452
elseif ps isa Tuple
0 commit comments