From 7b34c16f057d966f883f2c7e199c87e3adf74a19 Mon Sep 17 00:00:00 2001 From: = <=> Date: Thu, 8 Feb 2024 12:16:10 +0100 Subject: [PATCH] orient_tuple return correctly now --- julia/tuple_tools.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/julia/tuple_tools.jl b/julia/tuple_tools.jl index f551593..e1850c4 100644 --- a/julia/tuple_tools.jl +++ b/julia/tuple_tools.jl @@ -16,7 +16,7 @@ function neighbors(x::Int, y::Int, z::Int) end function orient_tuple(t::Coord, o::Int) - return _shift_tuple(_flip_tuple(_mirror_tuple(t, o-1)...)...) + return _shift_tuple(_flip_tuple(_mirror_tuple(t, o-1)...)...)[1] end function _shift_tuple(t::Coord, o::Int)