From: bangerth Date: Tue, 6 Apr 2010 04:00:59 +0000 (+0000) Subject: Disambiguate comparison with 0 for gcc 4.5. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b8cc202eec866ce7d66480f2af4f66b2240e3ce;p=dealii-svn.git Disambiguate comparison with 0 for gcc 4.5. git-svn-id: https://svn.dealii.org/trunk@20941 0785d39b-7218-0410-832d-ea1e28bc413d --- 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 {