]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Remove workarounds for DEAL_II_LONG_DOUBLE_LOOP_BUG from the source
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 28 Sep 2012 15:31:22 +0000 (15:31 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 28 Sep 2012 15:31:22 +0000 (15:31 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_cmake@26844 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/base/polynomial.cc

index 652d9d972c28ca181c05b40aa958a9dedfbd703f..e05e81f86a74f470c9125ee3ed556c6845b7b4ba 100644 (file)
@@ -521,19 +521,6 @@ namespace Polynomials
   Polynomial<number>::shift(std::vector<number>& 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
   }
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.