Skip to content

Warnings produced when importing SortPerf.jl #1

@illerucis

Description

@illerucis

I get the following warnings when requiring SortPerf.jl. For example,

require("SortPerf.jl")

SortPerf.std_sort_tests(;sort_algs=[QuickSort, OldQuickSort],
                        types=[Int, Float32, Float64],
                        range=6:19,
                        replicates=10,
                        save=true)

produces the following before the benchmarking begins

Warning: New definition 
    getindex(DataArray{T,N},Union(Array{T,1},Ranges{T})) at /Users/illerucis/.julia/DataFrames/src/dataarray.jl:356
is ambiguous with: 
    getindex(DataArray{T<:Number,N},Union(Array{T,1},Ranges{T},BitArray{1})) at /Users/illerucis/.julia/DataFrames/src/dataarray.jl:340.
To fix, define 
    getindex(DataArray{T<:Number,N},Union(Array{T,1},Ranges{T}))
before the new definition.
Warning: New definition 
    map(Union(Function,DataType),Block{T}...) at /Users/illerucis/.julia/Blocks/src/mapreduce.jl:11
is ambiguous with: 
    map(Union(Function,DataType),Any...) at reduce.jl:129.
To fix, define 
    map(Union(Function,DataType),Block{T}...)
before the new definition.
Warning: New definition 
    mapreduce(Union(Function,DataType),Function,Block{T}...) at /Users/illerucis/.julia/Blocks/src/mapreduce.jl:86
is ambiguous with: 
    mapreduce(Union(Function,DataType),Union(Function,DataType),Any) at reduce.jl:150.
To fix, define 
    mapreduce(Union(Function,DataType),Function,Block{T})
before the new definition.
Warning: New definition 
    mapreduce(Union(Function,DataType),Function,Any,Block{T}...) at /Users/illerucis/.julia/Blocks/src/mapreduce.jl:87
is ambiguous with: 
    mapreduce(Union(Function,DataType),Union(Function,DataType),AbstractArray{T,N}) at reduce.jl:186.
To fix, define 
    mapreduce(Union(Function,DataType),Function,AbstractArray{T,N})
before the new definition.
Warning: New definition 
    mapreduce(Union(Function,DataType),Function,Any,Block{T}...) at /Users/illerucis/.julia/Blocks/src/mapreduce.jl:87
is ambiguous with: 
    mapreduce(Union(Function,DataType),Union(Function,DataType),Any) at reduce.jl:150.
To fix, define 
    mapreduce(Union(Function,DataType),Function,Any)
before the new definition.
Warning: New definition 
    mapreduce(Union(Function,DataType),Function,Any,Block{T}...) at /Users/illerucis/.julia/Blocks/src/mapreduce.jl:87
is ambiguous with: 
    mapreduce(Union(Function,DataType),Union(Function,DataType),Any,Any) at reduce.jl:164.
To fix, define 
    mapreduce(Union(Function,DataType),Function,Any,Block{T})
before the new definition.
Warning: New definition 
    mapreduce(Union(Function,DataType),Function,Any,Block{T}...) at /Users/illerucis/.julia/Blocks/src/mapreduce.jl:87
is ambiguous with: 
    mapreduce(Union(Function,DataType),Function,Block{T}...) at /Users/illerucis/.julia/Blocks/src/mapreduce.jl:86.
To fix, define 
    mapreduce(Union(Function,DataType),Function,Block{T},Block{T}...)
before the new definition.
Warning: using FS.rename in module DataFrames conflicts with an existing identifier

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