def dmp_lcm(f, g, u, K):
    if not u:
        return dup_lcm(f, g, K)

    if K.has_Field:
        return dmp_ff_lcm(f, g, u, K)
    else:
        return dmp_rr_lcm(f, g, u, K)
paste subset state from other_subset onto self
dataset/ETHPy150Open sympy/sympy/sympy/polys/euclidtools.py/dmp_lcm--crossover with--dataset/ETHPy150Open glue-viz/glue/glue/core/subset_group.py/SubsetGroup.paste