From 8a782d1e3a2850cf0daf12c6dc15126979587773 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 21 Jun 2024 13:44:30 +0200 Subject: [PATCH] twist:: select_quotient in mtwisted nil now correctly shows the twisted quotient selector, not the nil one --- geom-exp.cpp | 2 +- nonisotropic.cpp | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/geom-exp.cpp b/geom-exp.cpp index d504cb97..7e31e668 100644 --- a/geom-exp.cpp +++ b/geom-exp.cpp @@ -617,7 +617,7 @@ EX void select_quotient() { euc::prepare_torus3(); pushScreen(euc::show_torus3); } - else if(nil) { + else if(nil && !mhybrid) { nilv::prepare_niltorus3(), pushScreen(nilv::show_niltorus3); } diff --git a/nonisotropic.cpp b/nonisotropic.cpp index ec5d083e..f2ab6f26 100644 --- a/nonisotropic.cpp +++ b/nonisotropic.cpp @@ -1462,7 +1462,12 @@ EX namespace hybrid { if(debugflags & DF_GEOM) for(cell *c: ac) for(int i=0; itype; i++) { cellwalker cw(c, i); - if(cycle_discrepancy(cw)) println(hlog, cw, cycle_discrepancy(cw)); + if(cycle_discrepancy(cw)) println(hlog, cw, " ", cycle_discrepancy(cw)); + } + if(debugflags & DF_GEOM) for(cell *c: ac) for(int i=0; itype; i++) { + auto err = get_shift(cellwalker(c, i)) + get_shift(cellwalker(c, i)+wstep); + if(err) + println(hlog, "two-side error: ", err, " on ", cellwalker(c, i)); } }); }