diff --git a/julia/PolyCube.jl b/julia/PolyCube.jl index caf3436..59149c0 100644 --- a/julia/PolyCube.jl +++ b/julia/PolyCube.jl @@ -53,6 +53,6 @@ function generate_children(pcube::PolyCube, n_max::Int) return Iterators.map(x -> PolyCube(vcat(cubes, x), x), powerset(growth_candidates, 1, allowed_growth)) end -function hash!(pcube::PolyCube, UInt::h) -> UInt +function hash!(pcube::PolyCube, UInt::h) return xxh3_64(pcube.oriented_differences[1]) end diff --git a/julia/main.jl b/julia/main.jl index c18a695..a15262b 100644 --- a/julia/main.jl +++ b/julia/main.jl @@ -36,5 +36,3 @@ function child_exists_in(dict::Dict, child::PolyCube) end return false end - -main(7)