]> www.ginac.de Git - ginac.git/blobdiff - ginac/exprseq_suppl.cpp
- Added warning about too much optimism for Bernoulli numbers.
[ginac.git] / ginac / exprseq_suppl.cpp
index f4355d79a03baa820ed4ef6a8e2bf33ccbe3fcdd..ae2abd20c5b72e9dc02320bb1e6a5e7a77fc41bc 100644 (file)
@@ -4,7 +4,7 @@
  *  not automatically generated. */
 
 /*
- *  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 "exprseq.h"
 #include "ex.h"
 
+#ifndef NO_NAMESPACE_GINAC
+namespace GiNaC {
+#endif // ndef NO_NAMESPACE_GINAC
+
 bool exprseq::info(unsigned inf) const
 {
     if (inf==info_flags::exprseq) return 1;
     return basic::info(inf);
 }
 
-ex & exprseq::let_op(int const i)
+ex & exprseq::let_op(int i)
 {
-    ASSERT(i>=0);
-    ASSERT(i<nops());
+    GINAC_ASSERT(i>=0);
+    GINAC_ASSERT(i<nops());
 
     return seq[i];
 }
 
+#ifndef NO_NAMESPACE_GINAC
+} // namespace GiNaC
+#endif // ndef NO_NAMESPACE_GINAC