From ebdaefbe14f048f8827b0cdca84bc15d8eca34f8 Mon Sep 17 00:00:00 2001 From: mcDandy Date: Sun, 8 Feb 2026 11:16:11 +0100 Subject: [PATCH] forgot a zero --- more_math/Parser/UnifiedMathVisitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/more_math/Parser/UnifiedMathVisitor.py b/more_math/Parser/UnifiedMathVisitor.py index b9500ec..874190c 100644 --- a/more_math/Parser/UnifiedMathVisitor.py +++ b/more_math/Parser/UnifiedMathVisitor.py @@ -1752,7 +1752,7 @@ class UnifiedMathVisitor(MathExprVisitor): raise ValueError(f"{ctx.start.line}:{ctx.start.column}: Unknown function: {func_name}") def visitNoiseFunc(self,ctx): - seed_val = yield ctx.expr() + seed_val = yield ctx.expr(0) shape_arg = self.shape; if len(ctx.expr()) > 1: shape_arg = (yield ctx.expr(1))