X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fexprseq_suppl.cpp;h=ae2abd20c5b72e9dc02320bb1e6a5e7a77fc41bc;hp=f4355d79a03baa820ed4ef6a8e2bf33ccbe3fcdd;hb=83c1a0ba18b918a02fea05272d6e9e514880b707;hpb=487e5659efe401683eee0381b0d23f967ffffc3c diff --git a/ginac/exprseq_suppl.cpp b/ginac/exprseq_suppl.cpp index f4355d79..ae2abd20 100644 --- a/ginac/exprseq_suppl.cpp +++ b/ginac/exprseq_suppl.cpp @@ -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 @@ -24,17 +24,24 @@ #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=0); + GINAC_ASSERT(i