On 17.05.2025 11:00, Danny Arends wrote:
On Saturday, 17 May 2025 at 07:20:06 UTC, drug007 wrote:
On 17.05.2025 01:26, Danny Arends wrote:
[...]
This patch fixed the issue:
```bash
root@1be5cfa937c3:/DImGui#  git diff
diff --git a/src/math/lsystem.d b/src/math/lsystem.d
index 394e902..02c085d 100644
--- a/src/math/lsystem.d
+++ b/src/math/lsystem.d
@@ -91,7 +91,7 @@ struct LSystem {

 LSystem createLSystem() {
   auto test = LSystem([Symbols.Origin]);
-  test.rules[Symbols.Origin] ~= Rule("W.O", 5);
+  test.rules[Symbols.Origin] = Rules([Rule("W.O", 5)]);
   test.rules[Symbols.Origin] ~= Rule("S.O", 5);
   test.rules[Symbols.Origin] ~= Rule("A.O", 5);
   test.rules[Symbols.Origin] ~= Rule("D.O", 5);
```
The demo compiles and works!

Merged, and thanks again for taking the time to test it.

Any comments/steps that you needed to take that were unclear in the readme ?

I think I haven't other issues

Reply via email to