I'm a bit confused about the following: According to the rules of determinants, interchanging two rows should affect the determinant by a minus sign. Now, take the identity matrix $I_3$, if we interchange the first row by the third row, you'd have $$A = \begin{pmatrix} 0&0&1\\ 0&1&0\\ 1&0&0\\ \end{pmatrix}$$
Would this mean that the determinant is being affected? We are interchanging two rows, so the determinant should be $-\det(I_3)$, yet according to my lecture slides, it's $(-1)^{3-1} \det(I_3) = 1\det(I_3)$ is this a mistake or am I not understanding something?
Thanks in advance!