corail-research / SeaPearl.jl

Julia hybrid constraint programming solver enhanced by a reinforcement learning driven search.
https://corail-research.github.io/SeaPearl.jl/dev/
BSD 3-Clause "New" or "Revised" License
168 stars 10 forks source link

pool is a type and a variable #425

Closed CasBex closed 1 year ago

CasBex commented 1 year ago

pool is an abstract type and a variable. This leads to some bugs with later Julia versions.

function HeterogeneousGraphConv(ch::Pair{Int,Int}, original_dimensions::Array{Int}, σ=Flux.leakyrelu; init=Flux.glorot_uniform, bias::Bool=true, T::DataType=Float32, pool::pool=meanPooling())

I have fixed this by renaming the abstract type to Pool, as camel case is common for type names in Julia.