From 9f664568ab1c275c8f2381aa88b57506fa07d818 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 2 Aug 2019 18:55:11 +0200 Subject: [PATCH] penrose3 fixup --- cell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cell.cpp b/cell.cpp index 398d8511..fa893c39 100644 --- a/cell.cpp +++ b/cell.cpp @@ -973,7 +973,7 @@ int celldistance(cell *c1, cell *c2) { if(geometry == gCrystal) return crystal::precise_distance(c1, c2); #endif - if(masterless || archimedean || quotient || sol || penrose) { + if(masterless || archimedean || quotient || sol || (penrose && euclid)) { if(saved_distances.count(make_pair(c1,c2))) return saved_distances[make_pair(c1,c2)];