]> www.ginac.de Git - ginac.git/blobdiff - check/exam_matrices.cpp
Fix some apparent typos and misindentations.
[ginac.git] / check / exam_matrices.cpp
index 395e96c49d79e7ac64e698ad1b3cb1cd08d9e996..3e1c25e5de5ae6af233f23272763860432758c2b 100644 (file)
@@ -3,7 +3,7 @@
  *  Here we examine manipulations on GiNaC's symbolic matrices. */
 
 /*
- *  GiNaC Copyright (C) 1999-2010 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2015 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -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;