From 9a6f14de9a821bc20ec66c9e4407ad2df3e4d0fa Mon Sep 17 00:00:00 2001 From: = <=> Date: Thu, 8 Feb 2024 12:17:47 +0100 Subject: [PATCH] cursed 1-indexed language --- julia/main.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/julia/main.jl b/julia/main.jl index 5fd2bb1..00c62b3 100644 --- a/julia/main.jl +++ b/julia/main.jl @@ -9,7 +9,7 @@ function main(maxsize::Int) push!(todo, root_pcube) polycubes = Dict{Vector{Coord}, Vector{Coord}}() - polycubes[root_pcube.oriented_differences[0]] = root_pcube.cubes + polycubes[root_pcube.oriented_differences[1]] = root_pcube.cubes size_count = zeros(Int, maxsize) size_count[1] = 1