X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?a=blobdiff_plain;f=ginac%2Fremember.cpp;h=4218a6ea917a1002973838d9f60d032479c25ea4;hb=f64f91817d2756622274e72afbf58cfae16cfa87;hp=37e403c43db45dada3389ecc2faf5caff9bb47e9;hpb=ed21ddd5e2bc0af018c10934342f526d0ae4b7a7;p=ginac.git diff --git a/ginac/remember.cpp b/ginac/remember.cpp index 37e403c4..4218a6ea 100644 --- a/ginac/remember.cpp +++ b/ginac/remember.cpp @@ -4,7 +4,7 @@ * in GiNaC functions */ /* - * GiNaC Copyright (C) 1999-2001 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2003 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 @@ -44,8 +44,8 @@ bool remember_table_entry::is_equal(function const & f) const { GINAC_ASSERT(f.seq.size()==seq.size()); if (f.gethash()!=hashvalue) return false; - unsigned num = seq.size(); - for (unsigned i=0; i & remember_table::remember_tables(void) +std::vector & remember_table::remember_tables() { static std::vector * rt = new std::vector; return *rt;