again, why 0-indexed
This commit is contained in:
@@ -18,7 +18,7 @@ function main(maxsize::Int)
|
|||||||
pcube = pop!(todo)
|
pcube = pop!(todo)
|
||||||
for child ∈ generate_children(pcube, maxsize)
|
for child ∈ generate_children(pcube, maxsize)
|
||||||
if !child_exists_in(polycubes, child)
|
if !child_exists_in(polycubes, child)
|
||||||
polycubes[child.oriented_differences[0]] = child.cubes
|
polycubes[child.oriented_differences[1]] = child.cubes
|
||||||
push!(todo, child)
|
push!(todo, child)
|
||||||
size_count[length(child.cubes)] += 1
|
size_count[length(child.cubes)] += 1
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user