Skip to content

Commit

Permalink
suppress warning on RVector CTOR
Browse files Browse the repository at this point in the history
  • Loading branch information
dmbates committed Apr 5, 2017
1 parent aa29cfc commit 33c6ec3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/sxtypes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,7 @@ type RVector{T, S} <: RVEC{T, S}
data::Vector{T}
attr::Hash # collection of R object attributes

RVector(v::Vector{T} = T[], attr::Hash = Hash()) = new(v, attr)

(::Type{RVector{T,S}}){T,S}(v::Vector{T}=T[], attr::Hash=Hash()) = new{T,S}(v, attr)
end

const RLogicalVector = RVector{Int32, LGLSXP}
Expand Down

0 comments on commit 33c6ec3

Please sign in to comment.