]> www.ginac.de Git - ginac.git/blobdiff - check/numeric_consist.cpp
#ifndef around namespace GiNaC { }
[ginac.git] / check / numeric_consist.cpp
index cd6f81ce09c49a6d9b3be459e7f168048554a92e..d6a3ffca7ee376acd504a3bd008de1e47025ab3c 100644 (file)
@@ -1,8 +1,9 @@
 /** @file numeric_consist.cpp
  *
  *  This test routine creates some numbers and check the result of several
- *  boolean tests on these numbers like is_integer() etc...
- *
+ *  boolean tests on these numbers like is_integer() etc... */
+
+/*
  *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
 #include <stdlib.h>
 #include <ginac/ginac.h>
 
+#ifndef NO_GINAC_NAMESPACE
+using namespace GiNaC;
+#endif // ndef NO_GINAC_NAMESPACE
+
 /* Simple and maybe somewhat pointless consistency tests of assorted tests and
  * conversions. */
 static unsigned numeric_consist1(void)