I have a question regarding a theorem about total unimodularity and partition of the rows of a matrix.
The theorem says that given a matrix $A \in \mathbb{Z}^{m\times n}$ , A is totally unimodular iff for any $I \subset [m]$ there exist a partition of the set I, $(I_1,I_2)$, such that $\sum_{i\in I_1}a_{i}-\sum_{i\in I_2}a_{i} \in \lbrace 0,\pm1 \rbrace$
However I look at the matrix $A= \begin{pmatrix} 1 & 0 & 1 \\ 0 & 1 & 0 \\ 1 & 1 & 1 \end{pmatrix}$, and I know it's unimodular, however if I choose $I = \lbrace R_2,R_3\rbrace$ and $I_1 = R_2, I_2 = R_3$ then I get that the sum is -2 thus indicating that the matrix is not totally unimodular.
How am I doing it wrong?