JuliaParallel / Blocks.jl

A framework to represent chunks of entities and parallel methods on them.
MIT License
30 stars 6 forks source link

Warning when loading Blocks #5

Closed papamarkou closed 10 years ago

papamarkou commented 10 years ago

Hi @tanmaykm, I got the following warning with using Blocks:

julia> using Blocks
Warning: New definition 
    mapreduce(Union(Function,DataType),Function,Any,Block{T}...) at /home/theodore/.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.
tanmaykm commented 10 years ago

Thanks for reporting. It should be fixed now on master. Have also sent PR for updating METADATA.jl.

papamarkou commented 10 years ago

Thank you @tanmaykm, I tried the master version and it works now, I will close this issue.