correct sibling_limit for the binarytiling

This commit is contained in:
Zeno Rogue 2018-09-28 16:42:05 +02:00
parent d0ee141270
commit 3081773f86
1 changed files with 5 additions and 2 deletions

View File

@ -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) {