X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?a=blobdiff_plain;f=ginac%2Fexprseq_suppl.cpp;h=cf7de6e02b41830b95c96f454dda267e92297aa1;hb=8a1bf7ee2429cc42bfb684b8258fadfad113581e;hp=1482a58b63665a83d7d8dfb8636a46e88b8b5d05;hpb=66c0f31c678e6c1938d637636b230ea376c157c1;p=ginac.git diff --git a/ginac/exprseq_suppl.cpp b/ginac/exprseq_suppl.cpp index 1482a58b..cf7de6e0 100644 --- a/ginac/exprseq_suppl.cpp +++ b/ginac/exprseq_suppl.cpp @@ -1,9 +1,10 @@ /** @file exprseq_suppl.cpp * - * Supplement to exprseq.cpp, contains the parts which were - * not automatically generated. - * - * GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany + * Supplement to exprseq.cpp, contains the parts which were not automatically + * generated. */ + +/* + * GiNaC Copyright (C) 1999-2001 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 @@ -23,17 +24,21 @@ #include "exprseq.h" #include "ex.h" +namespace GiNaC { + bool exprseq::info(unsigned inf) const { - if (inf==info_flags::exprseq) return 1; - return basic::info(inf); + 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