From aa59d05a93237fb4b326ca09fc1d8faf74bc1a54 Mon Sep 17 00:00:00 2001 From: = <=> Date: Thu, 8 Feb 2024 12:02:58 +0100 Subject: [PATCH] minor changes --- julia/PolyCube.jl | 2 +- julia/main.jl | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) 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)