]> www.ginac.de Git - ginac.git/blobdiff - check/exam_matrices.cpp
Fix some apparent typos and misindentations.
[ginac.git] / check / exam_matrices.cpp
index 1517766180e5d1d09356a89e5f1f9a9fc87c0f05..3e1c25e5de5ae6af233f23272763860432758c2b 100644 (file)
@@ -143,9 +143,9 @@ static unsigned matrix_invert2()
        ex det = m.determinant();
        
        if ((normal(m_i(0,0)*det) != d) ||
-               (normal(m_i(0,1)*det) != -b) ||
-               (normal(m_i(1,0)*det) != -c) ||
-               (normal(m_i(1,1)*det) != a)) {
+           (normal(m_i(0,1)*det) != -b) ||
+           (normal(m_i(1,0)*det) != -c) ||
+           (normal(m_i(1,1)*det) != a)) {
                clog << "inversion of 2x2 matrix " << m
                     << " erroneously returned " << m_i << endl;
                ++result;