]> www.ginac.de Git - ginac.git/blobdiff - check/lsolve_onedim.cpp
- changed old-style power() to new-style pow()
[ginac.git] / check / lsolve_onedim.cpp
index 448a16372ba40464ad66f89474a5aa83f9a860ee..997fe144298644f2997aa90f8608cd9b872d2f78 100644 (file)
@@ -4,7 +4,7 @@
  * variable. */
 
 /*
- *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
+ *  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
  */
 
 #include <ginac/ginac.h>
+
+#ifndef NO_GINAC_NAMESPACE
 using namespace GiNaC;
+#endif // ndef NO_GINAC_NAMESPACE
 
 unsigned lsolve_onedim(void)
 {
@@ -41,7 +44,7 @@ unsigned lsolve_onedim(void)
              << aux << endl;
     }
     
-    if (! result) {
+    if (!result) {
         cout << " passed ";
         clog << "(no output)" << endl;
     } else {