From: Wolfgang Bangerth Date: Mon, 7 Jan 2013 03:30:43 +0000 (+0000) Subject: Fix an incorrect conversion to avoid a deprecated function. X-Git-Tag: v8.0.0~1648 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d83155f72b4d2a250d77e5054121debc49b1c152;p=dealii.git Fix an incorrect conversion to avoid a deprecated function. git-svn-id: https://svn.dealii.org/trunk@27953 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/numerics/vector_tools.templates.h b/deal.II/include/deal.II/numerics/vector_tools.templates.h index 33c30e9dfa..322f756eef 100644 --- a/deal.II/include/deal.II/numerics/vector_tools.templates.h +++ b/deal.II/include/deal.II/numerics/vector_tools.templates.h @@ -1,7 +1,7 @@ //--------------------------------------------------------------------------- // $Id$ // -// Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 by the deal.II authors +// Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -2146,7 +2146,8 @@ namespace VectorTools return; // set up sparsity structure - CompressedSparsityPattern c_sparsity(dof.n_dofs()); + CompressedSparsityPattern c_sparsity(dof.n_boundary_dofs (boundary_functions), + dof.n_boundary_dofs (boundary_functions)); DoFTools::make_boundary_sparsity_pattern (dof, boundary_functions, dof_to_boundary_mapping,