|
# For images |
|
Base.:>=(I::GMTimage{T}, val::Real) where T <: Unsigned = mat2img(collect(I.image .>= val), I) |
The type signature of the method:
Furthermore, I don't think >= is supposed to get methods added to it at all. Adding a method to <= instead might be an improvement.
I suggest not defining that method at all, or at least defining <= instead.
GMT.jl/src/grd_operations.jl
Lines 216 to 217 in a363699
The type signature of the method:
does not make sense semantically
triggers lots of invalidation, xref precompiling on V.11, V1.12, ... may loose half the precompilation work JuliaLang/julia#59494
Furthermore, I don't think
>=is supposed to get methods added to it at all. Adding a method to<=instead might be an improvement.I suggest not defining that method at all, or at least defining
<=instead.