Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Remove unused function lcm in conds.py (#6572)

Chenlei Hudfa2b6d129a5
diff --git a/comfy/conds.py b/comfy/conds.py
index 73be3b1e0..211fb8d57 100644
--- a/comfy/conds.py
+++ b/comfy/conds.py
@@ -3,9 +3,6 @@ import math
import comfy.utils
-def lcm(a, b): #TODO: eventually replace by math.lcm (added in python3.9)
- return abs(a*b) // math.gcd(a, b)
-
class CONDRegular:
def __init__(self, cond):
self.cond = cond