MethodError: no matching method for Int64 despite specifying Real

Try

function point_within(point::Tuple{<:Real, <:Real}, polygon::Vector{<:Tuple{<:Real, <:Real}})
1 Like