From 5824e4b01635a9784e64350522cbd6454f5d31c0 Mon Sep 17 00:00:00 2001 From: ? Date: Wed, 27 Feb 2019 17:59:47 +0100 Subject: [PATCH] 3D:: master_relative returns Id --- geometry2.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/geometry2.cpp b/geometry2.cpp index 8970354e..52bfeadb 100644 --- a/geometry2.cpp +++ b/geometry2.cpp @@ -46,6 +46,8 @@ transmatrix master_relative(cell *c, bool get_inverse) { return (get_inverse?invhexmove:hexmove)[d]; return Id; } + else if(DIM == 3) + return Id; else return pispin * Id; }