From 65e96174cbfa5158760c06c4a701a4de8bf23a71 Mon Sep 17 00:00:00 2001 From: = <=> Date: Thu, 8 Feb 2024 12:03:39 +0100 Subject: [PATCH] simplified hash --- julia/PolyCube.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/julia/PolyCube.jl b/julia/PolyCube.jl index 59149c0..ae89104 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) +function hash!(pcube::PolyCube) return xxh3_64(pcube.oriented_differences[1]) end