Fix for lazy evaluation. Forgot to return value.

This commit is contained in:
mcDandy
2025-12-23 20:13:48 +01:00
parent 1843ee3cc3
commit 10074824d2
+2 -1
View File
@@ -54,4 +54,5 @@ def comonLazy(expr, a, b=None, c=None, d=None, w=0.0, x=0.0, y=0.0, z=0.0):
print("Variable is None:", variables.get(token.text) is None)
if token.text in variables and variables[token.text] is None:
need_eval.append(token.text)
print ("Need eval:", need_eval)
print ("Need eval:", need_eval)
return need_eval