@classmethod
    def eval(cls, z, m):
        k = 2*z/pi
        if m.is_zero:
            return z
        elif z.is_zero:
            return S.Zero
        elif k.is_integer:
            return k*elliptic_k(m)
        elif (S.Infinity, S.NegativeInfinity) in m:
            return S.Zero
        elif z.could_extract_minus_sign():
            return -elliptic_f(-z, m)
dataset/ETHPy150Open sympy/sympy/sympy/functions/special/elliptic_integrals.py/elliptic_f.eval/swapped operands of `in`