penrose3 fixup

This commit is contained in:
Zeno Rogue 2019-08-02 18:55:11 +02:00
parent bc1cc7e2ca
commit 9f664568ab
1 changed files with 1 additions and 1 deletions

View File

@ -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)];