def dmp_ground_extract(f, g, u, K):
    fc = dmp_ground_content(f, u, K)
    gc = dmp_ground_content(g, u, K)

    gcd = K.gcd(fc, gc)

    if not K.is_one(gcd):
        f = dmp_quo_ground(f, gcd, u, K)
        g = dmp_quo_ground(g, gcd, u, K)

    return gcd, f, g
If a different primary IP address is supplied and it identifies a node
dataset/ETHPy150Open sympy/sympy/sympy/polys/densetools.py/dmp_ground_extract--crossover with--dataset/ETHPy150Open ClusterHQ/flocker/flocker/control/test/test_httpapi.py/UpdatePrimaryDatasetTestsMixin.test_change_primary_to_unconfigured_node