From 923fdc5983fd6fec676aad2cf0f8018674a95cc6 Mon Sep 17 00:00:00 2001 From: Richard Kreckel Date: Wed, 27 Mar 2002 23:17:25 +0000 Subject: [PATCH] * Don't push void to static Bernoulli vector, it breaks with GCC-3.1. --- ginac/numeric.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) 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