Skip to content

Commit 9eb2750

Browse files
committed
bugfix
1 parent da06ff6 commit 9eb2750

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dimindices.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ for f in (:getindex, :dotview, :view)
457457
i2::DimensionalIndices,
458458
Is::DimensionalIndices...
459459
)
460-
rebuild(di; dims=newdims)
460+
$_dim_f(di, i1, i2, Is...)
461461
end
462462
@propagate_inbounds Base.$f(A::AbstractDimArrayGenerator, i::DimIndices) = $_dim_f(A, i)
463463
@propagate_inbounds Base.$f(A::AbstractDimArrayGenerator, i::DimSelectors) = $_dim_f(A, i)

0 commit comments

Comments
 (0)