From ada7688debd11f02886b4e87fc8f1dc69369cf8e Mon Sep 17 00:00:00 2001 From: mcDandy Date: Fri, 20 Feb 2026 17:09:46 +0100 Subject: [PATCH] fix problem after AI --- 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 1d17ae9..3032b3b 100644 --- a/more_math/Parser/UnifiedMathVisitor.py +++ b/more_math/Parser/UnifiedMathVisitor.py @@ -1000,7 +1000,7 @@ class UnifiedMathVisitor(MathExprVisitor): k_sq_sum = k_sq_sum + k_val**2 self.variables["K"] = torch.sqrt(k_sq_sum) - self.variables["frequency"] = self_variables["K"] + self.variables["frequency"] = self.variables["K"] if "Kx" in self.variables: self.variables["frequency_count"] = self.variables.get("Fx", 1.0)