From: Richard Kreckel Date: Wed, 27 Mar 2002 23:17:25 +0000 (+0000) Subject: * Don't push void to static Bernoulli vector, it breaks with GCC-3.1. X-Git-Tag: release_1-0-8~9 X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=commitdiff_plain;h=923fdc5983fd6fec676aad2cf0f8018674a95cc6 * Don't push void to static Bernoulli vector, it breaks with GCC-3.1. --- diff --git a/ginac/numeric.cpp b/ginac/numeric.cpp index 55d5d556..000e15f8 100644 --- a/ginac/numeric.cpp +++ b/ginac/numeric.cpp @@ -1546,14 +1546,13 @@ const numeric bernoulli(const numeric &nn) // algorithm not applicable to B(2), so just store it if (!next_r) { - results.push_back(); // results[0] is not used results.push_back(cln::recip(cln::cl_RA(6))); next_r = 4; } if (n