From 185193e1fc343e3e1697a53aba19928bae027366 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 6 Apr 2010 04:00:59 +0000 Subject: [PATCH] Disambiguate comparison with 0 for gcc 4.5. git-svn-id: https://svn.dealii.org/trunk@20941 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/source/polynomial.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/deal.II/base/source/polynomial.cc b/deal.II/base/source/polynomial.cc index 4c4bf0880c..b8663860e6 100644 --- a/deal.II/base/source/polynomial.cc +++ b/deal.II/base/source/polynomial.cc @@ -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 >()))) // no, then generate the // respective coefficients { -- 2.39.5