X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Flst_suppl.cpp;h=13438c5d00be23d2361992383cecb6483adfc9ad;hp=71463df7135af932fec5f52f17e29af677769f6a;hb=7159dc04b88c350af7e023a69d056ad00c25a8e9;hpb=487e5659efe401683eee0381b0d23f967ffffc3c diff --git a/ginac/lst_suppl.cpp b/ginac/lst_suppl.cpp index 71463df7..13438c5d 100644 --- a/ginac/lst_suppl.cpp +++ b/ginac/lst_suppl.cpp @@ -1,10 +1,10 @@ /** @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 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2002 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,10 +23,12 @@ #include "lst.h" +namespace GiNaC { + bool lst::info(unsigned inf) const { - if (inf==info_flags::list) return 1; - return basic::info(inf); + if (inf==info_flags::list) return true; + return basic::info(inf); } - +} // namespace GiNaC