From 2dfc12799d1f7fc048aa30ab17d43a8675c27772 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 11 Apr 2018 23:37:55 +0200 Subject: [PATCH] fixed the heptagonal RRV --- pattern2.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pattern2.cpp b/pattern2.cpp index e96cce70..3f549c9f 100644 --- a/pattern2.cpp +++ b/pattern2.cpp @@ -1048,9 +1048,11 @@ int pattern_threecolor(cell *c) { if(stdhyperbolic && nonbitrunc) { int z = zebra40(c); if(z == 5 || z == 8 || z == 15) return 0; - if(z == 10 || z == 12 || z == 7) return 2; - if(z == 6 || z == 9) return 3; - if(z == 14 || z == 11) return 4; + if(c->land == laSnakeNest) { + if(z == 10 || z == 12 || z == 7) return 2; + if(z == 6 || z == 9) return 3; + if(z == 14 || z == 11) return 4; + } return 1; } if(a46 && nonbitrunc) { @@ -1064,6 +1066,8 @@ int pattern_threecolor(cell *c) { } if(S7 == 3 && nonbitrunc) return c->master->fiftyval; + if(gp_threecolor() && (S7&1)) + return gp::pseudohept_val(c) > 0; return !ishept(c); }