Skip to content

Commit

Permalink
Fix type inference issue in permutedims!
Browse files Browse the repository at this point in the history
  • Loading branch information
simonster committed Dec 14, 2014
1 parent 6dbcf80 commit cdb6f7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/multidimensional.jl
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ for (V, PT, BT) in [((:N,), BitArray, BitArray), ((:T,:N), Array, StridedArray)]
offset = 1 - sum(@ntuple N d->strides_{d+1})

if isa(B, SubArray)
offset += first_index(B) - 1
offset += first_index(B::SubArray) - 1
B = B.parent
end

Expand Down

0 comments on commit cdb6f7c

Please sign in to comment.