-
-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
using GeometryBasics
intersects(Line(Point(-1, 0), Point(1, 0)), Line(Point(0, -1), Point(0, 1)))
crashes with
julia> intersects(Line(Point(-1, 0), Point(1, 0)), Line(Point(0, -1), Point(0,
1)))
ERROR: LoadError: MethodError: no method matching Int64(::Irrational{:π})
Closest candidates are:
(::Type{T})(::T) where T<:Number at C:\Users\racinsky\AppData\Local\Programs\Julia-1.7.0\share\julia\base\boot.jl:770
(::Type{T})(::AbstractChar) where T<:Union{Int32, Int64} at C:\Users\racinsky\AppData\Local\Programs\Julia-1.7.0\share\julia\base\char.jl:51
(::Type{T})(::AbstractChar) where T<:Union{AbstractChar, Number} at C:\Users\racinsky\AppData\Local\Programs\Julia-1.7.0\share\julia\base\char.jl:50
...
Metadata
Metadata
Assignees
Labels
No labels