]> www.ginac.de Git - ginac.git/blobdiff - ginac/lst_suppl.cpp
- ex_to<foo>(obj) is a good candidate for asserting is_a<foo>(obj).
[ginac.git] / ginac / lst_suppl.cpp
index ae8df024a8aeab14b81dfbd3aff2250c8f0b90d0..81212707f6ee616866048e2477e1cd47931b0a10 100644 (file)
@@ -1,7 +1,7 @@
 /** @file lst_suppl.cpp
  *
- *  Supplement to lst.cpp, contains the parts which were
- *  not automatically generated. */
+ *  Supplement to lst.cpp, contains the parts which were not automatically
+ *  generated. */
 
 /*
  *  GiNaC Copyright (C) 1999-2001 Johannes Gutenberg University Mainz, Germany
 
 #include "lst.h"
 
-#ifndef NO_NAMESPACE_GINAC
 namespace GiNaC {
-#endif // ndef NO_NAMESPACE_GINAC
 
 bool lst::info(unsigned inf) const
 {
-       if (inf==info_flags::list) return 1;
+       if (inf==info_flags::list) return true;
        return basic::info(inf);
 }
 
-#ifndef NO_NAMESPACE_GINAC
 } // namespace GiNaC
-#endif // ndef NO_NAMESPACE_GINAC