Closed ibadr closed 8 years ago
Apologies! I just noticed that clamp!
only operates on arrays not scalars, hence Travis is failing with
ERROR: LoadError: LoadError: MethodError: `clamp!` has no method matching clamp!(::Int64, ::Int64, ::Int64)
I fix this in the next pull request
Calling Color() with arguments outside the range 0:255 results in
InexactError
while converting toUInt8
. This fix usesclamp!
instead ofclamp
to avoid this.