Skip to content

Commit

Permalink
use more specific VERSION cutoff for change in SubArray parameters
Browse files Browse the repository at this point in the history
pretty sure this was base Julia PR 19730
  • Loading branch information
tkelman authored Jun 15, 2017
1 parent 2a136f2 commit 83f9b0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.jl
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ macro rtti_dispatch(typeTuple, signature)
:($(esc(ret)))
end

@static if VERSION >= v"0.6-"
@static if VERSION >= v"0.6.0-dev.2068"
@compat const ContiguousSMatrixColumnView{S1, S2, T, L} = SubArray{T,2,SMatrix{S1, S2, T, L},Tuple{Base.Slice{Base.OneTo{Int}},UnitRange{Int}},true}
else
@compat const ContiguousSMatrixColumnView{S1, S2, T, L} = SubArray{T,2,SMatrix{S1, S2, T, L},Tuple{Colon,UnitRange{Int64}},true}
Expand Down

0 comments on commit 83f9b0f

Please sign in to comment.