X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fremember.cpp;h=53cc4cee2130f4656c721ac39787b650717747a4;hp=cdd346f74e0e1b18e32fe83e608c2c089039493f;hb=23acc666fcef311fd97092aee7f8c55e80395351;hpb=dbd9c306a74f1cb258c0d15a346b973b39deaad2 diff --git a/ginac/remember.cpp b/ginac/remember.cpp index cdd346f7..53cc4cee 100644 --- a/ginac/remember.cpp +++ b/ginac/remember.cpp @@ -4,7 +4,7 @@ * in GiNaC functions */ /* - * GiNaC Copyright (C) 1999-2003 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2004 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;