Skip to content

Commit

Permalink
Merge pull request #234 from tkelman/patch-1
Browse files Browse the repository at this point in the history
use more specific VERSION cutoff for change in SubArray parameters
  • Loading branch information
tkoolen authored Jun 16, 2017
2 parents 2a136f2 + 83f9b0f commit 9943a0d
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 9943a0d

Please sign in to comment.