AI: audit 1

This commit is contained in:
mcDandy
2026-10-18 00:58:12 +02:00
parent 538ab7665f
commit d0bbcb51fc
22 changed files with 116 additions and 109 deletions
+2 -2
View File
@@ -59,11 +59,11 @@ class ModelMathNode(io.ComfyNode):
tooltip = cleandoc(__doc__)
@classmethod
def check_lazy_status(cls, Expression, V, F, length_mismatch="tile",use_compute_device=True,stack={},dict_mode=False):
def check_lazy_status(cls, Expression, V, F, length_mismatch="tile",use_compute_device=True,stack=None,dict_mode=False):
return checkLazyNew(Expression,V,F)
@classmethod
def execute(cls, V, F, Expression, length_mismatch="tile",use_compute_device=True,stack={},dict_mode=False) -> io.NodeOutput:
def execute(cls, V, F, Expression, length_mismatch="tile",use_compute_device=True,stack=None,dict_mode=False) -> io.NodeOutput:
# Determine reference model for cloning
a = V.get("V0")
stack = copy.deepcopy(stack) if stack is not None else {}