Skip to content

Commit cdb6f7c

Browse files
committed
Fix type inference issue in permutedims!
1 parent 6dbcf80 commit cdb6f7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/multidimensional.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ for (V, PT, BT) in [((:N,), BitArray, BitArray), ((:T,:N), Array, StridedArray)]
692692
offset = 1 - sum(@ntuple N d->strides_{d+1})
693693

694694
if isa(B, SubArray)
695-
offset += first_index(B) - 1
695+
offset += first_index(B::SubArray) - 1
696696
B = B.parent
697697
end
698698

0 commit comments

Comments
 (0)