]> www.ginac.de Git - ginac.git/blobdiff - check/powerlaws.cpp
#ifndef around namespace GiNaC { }
[ginac.git] / check / powerlaws.cpp
index 2a6382a812688bdda81e43fe82c1456b730503a5..b7fdd60c554ade490f6add40b772126bd12a90a2 100644 (file)
@@ -1,8 +1,9 @@
 /** @file powerlaws.cpp
  *
  *  Tests for power laws.  You shouldn't try to draw much inspiration from
- *  this code, it is a sanity check rather deeply rooted in GiNaC's classes.
- *
+ *  this code, it is a sanity check rather deeply rooted in GiNaC's classes. */
+
+/*
  *  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
+
 static unsigned powerlaws1(void)
 {
     // (x^a)^b = x^(a*b)