]> www.ginac.de Git - ginac.git/blobdiff - check/matrix_checks.cpp
- changed behaviour of numeric::is_rational() and added numeric::is_cinteger()
[ginac.git] / check / matrix_checks.cpp
index 4b973ef314cb8297f9e3a1d997fad9351057f7b1..7bce7872bb10d76ea3d10b0e657a596d5418d5d5 100644 (file)
@@ -1,7 +1,8 @@
 /** @file matrix_checks.cpp
  *
- *  Here we test manipulations on GiNaC's symbolic matrices.
- *
+ *  Here we test manipulations on GiNaC's symbolic matrices. */
+
+/*
  *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
 #include <stdexcept>
 #include <ginac/ginac.h>
 
+#ifndef NO_GINAC_NAMESPACE
+using namespace GiNaC;
+#endif // ndef NO_GINAC_NAMESPACE
+
 static unsigned matrix_determinants(void)
 {
     unsigned result = 0;
@@ -225,7 +230,7 @@ unsigned matrix_checks(void)
     result += matrix_invert3();
     result += matrix_misc();
     
-    if (! result) {
+    if (!result) {
         cout << " passed ";
         clog << "(no output)" << endl;
     } else {