def _cho_solve_AATI(A, rho, b, c, lwr, check_finite=True):
    """Patched version of :func:`sporco.linalg.cho_solve_AATI`."""

    N, M = A.shape
    if N >= M:
        x = (b - _cho_solve((c, lwr), b.dot(A).T,
            check_finite=check_finite).T.dot(A.T)) / rho
    else:
        x = _cho_solve((c, lwr), b.T, check_finite=check_finite).T
    return x
def _cho_solve_AATI ( A , rho , b , c , lwr , check_finite = True ) : N , M = A . shape if N >= M : x = ( b - _cho_solve ( ( c , lwr ) , b . dot ( A ) . T , check_finite = check_finite ) . T . dot ( A . T ) ) / rho else : x = _cho_solve ( ( c , lwr ) , b . T , check_finite = check_finite ) . T return x
Patched version of :func:`sporco.linalg.cho_solve_AATI`.