From 1eafda6cfdd75a7fb05f240bb84282a2e6bfcffe Mon Sep 17 00:00:00 2001 From: Viktor Danov Date: Mon, 30 Oct 2023 20:26:42 +0200 Subject: [PATCH] fix: presampled weights were not advancing --- lsystem.go | 1 + 1 file changed, 1 insertion(+) diff --git a/lsystem.go b/lsystem.go index 8fd9331..d042b04 100644 --- a/lsystem.go +++ b/lsystem.go @@ -157,6 +157,7 @@ func (l *LSystem) applyRulesOnce(input, output *Buffer) { } output.AppendSlice(rules.ChooseSuccessor()) + l.ByteRules[token] = rules } }