- Fixed an assertion-thinko in matrix::fraction_free_elimination().
authorRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Mon, 31 Jul 2000 18:18:27 +0000 (18:18 +0000)
committerRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Mon, 31 Jul 2000 18:18:27 +0000 (18:18 +0000)
ginac/matrix.cpp

index 52b4de3..bf490f0 100644 (file)
@@ -1062,7 +1062,7 @@ int matrix::fraction_free_elimination(bool det)
     // and D{m[k+1](r,c)} by
     //     D{m[k-1](k-1,k-1)}.
     
-    GINAC_ASSERT(det || row==col);
+    GINAC_ASSERT(!det || row==col);
     ensure_if_modifiable();
     if (rows()==1)
         return 1;