]> www.ginac.de Git - ginac.git/blobdiff - check/powerlaws.cpp
genheader.pl: create a header file 'cint_workaround.h' to fix the broken
[ginac.git] / check / powerlaws.cpp
index e103fed9cf37cb8fafe904de35f8892fc0b8d081..d6a896cff54a15dafa7ccfc81263fb78535427e7 100644 (file)
@@ -1,10 +1,32 @@
-// check/powerlaws.cpp
+/** @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. */
 
-/* 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. */
+/*
+ *  GiNaC Copyright (C) 1999-2000 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
 #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)