From 8ca3034984c9a255243d6db5e0307a9a983dcee9 Mon Sep 17 00:00:00 2001 From: maier Date: Fri, 28 Sep 2012 15:31:22 +0000 Subject: [PATCH] Remove workarounds for DEAL_II_LONG_DOUBLE_LOOP_BUG from the source git-svn-id: https://svn.dealii.org/branches/branch_cmake@26844 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/base/polynomial.cc | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/deal.II/source/base/polynomial.cc b/deal.II/source/base/polynomial.cc index 652d9d972c..e05e81f86a 100644 --- a/deal.II/source/base/polynomial.cc +++ b/deal.II/source/base/polynomial.cc @@ -521,19 +521,6 @@ namespace Polynomials Polynomial::shift(std::vector& coefficients, const number2 offset) { -#ifdef DEAL_II_LONG_DOUBLE_LOOP_BUG - AssertThrow (false, - ExcMessage("Sorry, but the compiler you are using has a bug that disallows " - "compilation of this function, so you cannot use it. Read more " - "about the bug and when it occurs in the aclocal.m4 file in the " - "top level directory (watch for the string " - "DEAL_II_LONG_DOUBLE_LOOP_BUG)")); - // calm down warning for unused - // args. note that this code is - // actually unreachable - coefficients[0] = offset; -#else - // too many coefficients cause overflow in // the binomial coefficient used below Assert (coefficients.size() < 31, ExcNotImplemented()); @@ -587,7 +574,6 @@ namespace Polynomials // copy new elements to old vector coefficients.assign(new_coefficients.begin(), new_coefficients.end()); -#endif } -- 2.39.5