From 1c7a400c46d9ca878c4f9cf3c921646ada79119a Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 27 Apr 2009 16:45:02 +0000 Subject: [PATCH] Fix an error where we didn't size an array correctly. git-svn-id: https://svn.dealii.org/trunk@18750 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/umfpack/umfpack_04.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/umfpack/umfpack_04.cc b/tests/umfpack/umfpack_04.cc index 508c78eb2c..098c8f3c29 100644 --- a/tests/umfpack/umfpack_04.cc +++ b/tests/umfpack/umfpack_04.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2002, 2003, 2004, 2005, 2006 by the deal.II authors +// Copyright (C) 2002, 2003, 2004, 2005, 2006, 2009 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -122,7 +122,7 @@ void test () deallog << "Number of dofs = " << dof_handler.n_dofs() << std::endl; - std::vector size; + std::vector size (dim); DoFTools::count_dofs_per_component(dof_handler, size); BlockSparsityPattern b_sparsity_pattern; -- 2.39.5