Skip to content

Trees for integer input data errors now it seems #196

@KristofferC

Description

@KristofferC
julia> data = SVector{2}.([(1, 2), (3, 4), (5, 6), (7, 8), (9, 10)])
5-element Vector{SVector{2, Int64}}:
 [1, 2]
 [3, 4]
 [5, 6]
 [7, 8]
 [9, 10]

julia> tree = KDTree(data; leafsize=1)
ERROR: InexactError: Int64(Inf)
Stacktrace:
  [1] Int64
    @ ./float.jl:912 [inlined]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions