Needed for https://github.com/mkoeppe/sage/blob/cmr/src/sage/matrix/seymour_decomposition.pyx#L291