Skip to content

Commit

Permalink
Merge pull request #62 from JaredCrean2/fix_depwarn
Browse files Browse the repository at this point in the history
fix Array constructor deprecation warning
  • Loading branch information
andreasnoack authored Jun 5, 2018
2 parents 8cb57b9 + bc9c2f7 commit ce17d1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common.jl
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ unsafe_convert(::Type{Ptr{T}}, a::StridedArrayView{T}) where {T} = pointer(a)

## Create similar array

similar(a::StridedArrayView, ::Type{T}, dims::Dims) where {T} = Array(T, dims)
similar(a::StridedArrayView, ::Type{T}, dims::Dims) where {T} = Array{T}(dims)

0 comments on commit ce17d1a

Please sign in to comment.