From cad1bccd1a67f7fb88cf3b5774baa6c42debbd84 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 31 Mar 2020 18:59:16 +0200 Subject: [PATCH] fixed a crash in some horospherical tessellations --- fieldpattern.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fieldpattern.cpp b/fieldpattern.cpp index 292ae5b7..9f41c782 100644 --- a/fieldpattern.cpp +++ b/fieldpattern.cpp @@ -1156,24 +1156,24 @@ EX struct fpattern& getcurrfp() { DEBB(DF_FIELD, ("set prime = ", fp.Prime)); return fp; } - if(S7 == 8 && S3 == 3) { + if(S7 == 8 && S3 == 3 && !bt::in()) { static fpattern fp(17); return fp; } - if(S7 == 5 && S3 == 4) { + if(S7 == 5 && S3 == 4 && !bt::in()) { static fpattern fp(11); return fp; } - if(S7 == 6 && S3 == 4) { + if(S7 == 6 && S3 == 4 && !bt::in()) { static fpattern fp(13); return fp; } - if(S7 == 7 && S3 == 4) { + if(S7 == 7 && S3 == 4 && !bt::in()) { static fpattern fp(13); return fp; } if(sphere || euclid) return fp_invalid; - if(S7 == 7 && S3 == 3) + if(S7 == 7 && S3 == 3 && !bt::in()) return fp43; return fp_invalid; }