Commit 17551f59 authored by Adam P. Goucher's avatar Adam P. Goucher

B0 bugfix

parent b52fae51
#pragma once
#define LIFELIB_VERSION "ll1.3"
#define LIFELIB_VERSION "ll1.31"
#include "bitbounds.h"
#include <stdint.h>
......
......@@ -32,7 +32,7 @@ namespace apg {
* ..o o..
*/
return (transtable[257] || transtable[68]);
return (transtable[257] || transtable[68] || b0);
}
std::vector<std::string> pbbosc(pattern pat, uint64_t n, uint64_t maxn) {
......@@ -455,7 +455,7 @@ namespace apg {
elements = sss(cl2);
}
if (elements.size() == 0) { elements = pseudoBangBang(cl2, 0); }
} else if (recurse) {
} else if (recurse && (!b0)) {
// We may have a constellation since we've bypassed PseudoBangBang.
// This tends to be problematic in B0 and Generations rules with
// infinite-growth patterns, so we try to reseparate the pattern:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment