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

Commit

Permalink
dont mess with x::T
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonDanisch committed Dec 19, 2019
1 parent 9df4638 commit 9c597b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/conversions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ function convert_arguments(::SurfaceLike, x::AbstractVecOrMat, y::AbstractVecOrM
end


float32type(x) = Float32
float32type(x::Type) = Float32
float32type(::Type{<: RGB}) = RGB{Float32}
float32type(::Type{<: RGBA}) = RGBA{Float32}
float32type(::Type{<: Colorant}) = RGBA{Float32}
Expand Down

2 comments on commit 9c597b9

@SimonDanisch
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/6959

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:

git tag -a v0.9.15 -m "<description of version>" 9c597b97baa518da3a3e9d14c29311b9bff2e426
git push origin v0.9.15

Please sign in to comment.