Skip to content

Commit 1be985c

Browse files
committed
remove colors
1 parent 6d18ada commit 1be985c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/construction.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,6 @@ end
4343
function convert(AT::Type{<: GPUArray{T1}}, A::DenseArray{T2}) where {T1, T2}
4444
copy!(similar(AT, T1, size(A)), T1.(A))
4545
end
46-
using Colors
47-
function convert(AT::Type{<: GPUArray{T1}}, A::DenseArray{T2}) where {T1 <: Colorant, T2 <: Colorant}
48-
copy!(similar(AT, T1, size(A)), T1.(A))
49-
end
5046
function convert(AT::Type{<: GPUArray}, A::DenseArray{T2, N}) where {T2, N}
5147
copy!(similar(AT, T2, size(A)), A)
5248
end

0 commit comments

Comments
 (0)