Hi! I need help with this constructor on Julia 0.4. What is the correct 
form for write different constructors for D being 1, 2, 3... ? Thanks

julia> immutable AdditiveSmoothing{T}
         λ::T
       end

julia> type ResidueCount{T, D}
         N::Array{T, D}
         
       end

julia> ResidueCount{T,1}(::Type{T}) = ResidueCount{T,1}(Array(T,21))
ERROR: syntax: malformed type parameter list


Reply via email to