def func(self,d,t):
        if d == 1:
            return 1
        elif d == 3:
            return 1 + t
        elif d == 5:
            return 1 + t + t*3./t
        elif d == 7:
            return 1 + t + 2.*t*t/5. + t*t*t/15.
        else:
            raise Exception("Wrong value for d in Matern")
dataset/ETHPy150Open marionmari/pyGPs/pyGPs/Core/cov.py/Matern.func/swapped operands of `/`