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.
IndexCache
1 parent 91b7c29 commit 3330699Copy full SHA for 3330699
src/systems/index_cache.jl
@@ -92,7 +92,7 @@ function IndexCache(sys::AbstractSystem)
92
push!(found_array_syms, arrsym)
93
valid_arrsym || break
94
if idxs == idxs[begin]:idxs[end]
95
- idxs = reshape(idxs[begin]:idxs[end], size(idxs))::AbstractArray{Int}
+ idxs = reshape(idxs[begin]:idxs[end], size(arrsym))::AbstractArray{Int}
96
else
97
idxs = reshape(idxs, size(arrsym))::AbstractArray{Int}
98
end
0 commit comments