]> www.ginac.de Git - ginac.git/blobdiff - check/poly_gcd.cpp
#ifndef around namespace GiNaC { }
[ginac.git] / check / poly_gcd.cpp
index 542bc80c8439d8a805b161f138c70e8d21aedadd..1448ae3cc815dd0a9c06ac6f1353b7cc4d339c79 100644 (file)
@@ -1,8 +1,9 @@
 /** @file poly_gcd.cpp
  *
  *  Some test with polynomial GCD calculations. See also the checks for
- *  rational function normalization in normalization.cpp.
- *
+ *  rational function normalization in normalization.cpp. */
+
+/*
  *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
 
 #include <ginac/ginac.h>
 
+#ifndef NO_GINAC_NAMESPACE
+using namespace GiNaC;
+#endif // ndef NO_GINAC_NAMESPACE
+
 const int MAX_VARIABLES = 5;
 
 static symbol x("x"), z("z");