]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Disambiguate comparison with 0 for gcc 4.5.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 6 Apr 2010 04:00:59 +0000 (04:00 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 6 Apr 2010 04:00:59 +0000 (04:00 +0000)
git-svn-id: https://svn.dealii.org/trunk@20941 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/polynomial.cc

index 4c4bf0880c7bff9917511844ef720f654108b1ea..b8663860e6f5106e68b8779a55cab460f3c8ba29 100644 (file)
@@ -2,7 +2,7 @@
 //      $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009 by the deal.II authors
+//    Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009, 2010 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -747,7 +747,8 @@ namespace Polynomials
                                      // already exist?
     if ((recursive_coefficients.size() < k+1) ||
         ((recursive_coefficients.size() >= k+1) &&
-         (recursive_coefficients[k] == 0)))
+         (recursive_coefficients[k] ==
+         std_cxx1x::shared_ptr<const std::vector<double> >())))
                                        // no, then generate the
                                        // respective coefficients
       {

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.