From 3081773f8629afcee9337c8c92e96a9d0f0b239b Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 28 Sep 2018 16:42:05 +0200 Subject: [PATCH] correct sibling_limit for the binarytiling --- expansion.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/expansion.cpp b/expansion.cpp index c825e57e..97c841b5 100644 --- a/expansion.cpp +++ b/expansion.cpp @@ -839,8 +839,11 @@ int sibling_limit = 0; void set_sibling_limit() { if(IRREGULAR) sibling_limit = 3; - auto p = gp::univ_param(); - sibling_limit = 2 * p.first + p.second; + else if(binarytiling) sibling_limit = 3; + else { + auto p = gp::univ_param(); + sibling_limit = 2 * p.first + p.second; + } } int celldist0(cell *c) {