def _diag_ufunc(A,b,offset,func):
    b = np.squeeze(b)
    assert 1 <= b.ndim, "only implemented for one dimensional arrays"
    dA = view(A, offset); func(dA,b,dA)
    return A
dataset/ETHPy150Open SheffieldML/GPy/GPy/util/diag.py/_diag_ufunc/swapped operands of `<=`