From ea7d0f20c47dba34505ab9638104283d57101445 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 10 Jun 2024 01:36:13 +0200 Subject: [PATCH] disable nil optimization in virtualRebase for hex nil structure --- geometry2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geometry2.cpp b/geometry2.cpp index ac22a4c6..f9f5e27d 100644 --- a/geometry2.cpp +++ b/geometry2.cpp @@ -321,7 +321,7 @@ void virtualRebase_cell(cell*& base, T& at, const U& check) { template void virtualRebase(cell*& base, T& at, const U& check) { - if(nil && WDIM == 3) { + if(nil && WDIM == 3 && nilv::nil_structure_index != 2) { hyperpoint h = check(at); auto step = [&] (int i) { at = currentmap->adj(base, (i+S7/2) % S7) * at;