Skip to content
This repository was archived by the owner on Jul 13, 2021. It is now read-only.

Commit 9c597b9

Browse files
committed
dont mess with x::T
1 parent 9df4638 commit 9c597b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/conversions.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ function convert_arguments(::SurfaceLike, x::AbstractVecOrMat, y::AbstractVecOrM
227227
end
228228

229229

230-
float32type(x) = Float32
230+
float32type(x::Type) = Float32
231231
float32type(::Type{<: RGB}) = RGB{Float32}
232232
float32type(::Type{<: RGBA}) = RGBA{Float32}
233233
float32type(::Type{<: Colorant}) = RGBA{Float32}

0 commit comments

Comments
 (0)