]> 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 80d8bf95a718d9f2d9b961bb82d8e3c1fd638a0e..7bce7872bb10d76ea3d10b0e657a596d5418d5d5 100644 (file)
 
 #include <stdexcept>
 #include <ginac/ginac.h>
+
+#ifndef NO_GINAC_NAMESPACE
 using namespace GiNaC;
+#endif // ndef NO_GINAC_NAMESPACE
 
 static unsigned matrix_determinants(void)
 {
@@ -227,7 +230,7 @@ unsigned matrix_checks(void)
     result += matrix_invert3();
     result += matrix_misc();
     
-    if (! result) {
+    if (!result) {
         cout << " passed ";
         clog << "(no output)" << endl;
     } else {