From 13fd917186d40b53a3fce01d9f552e1e994bf060 Mon Sep 17 00:00:00 2001 From: bangerth Date: Thu, 7 Jan 2010 11:20:05 +0000 Subject: [PATCH] It is now necessary to initialize an output array. Do so. git-svn-id: https://svn.dealii.org/trunk@20326 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/dofs/block_info.cc | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/deal.II/deal.II/source/dofs/block_info.cc b/deal.II/deal.II/source/dofs/block_info.cc index 60cb4ab05f..fcbdfef5c3 100644 --- a/deal.II/deal.II/source/dofs/block_info.cc +++ b/deal.II/deal.II/source/dofs/block_info.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2009 by the deal.II authors +// Copyright (C) 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 @@ -42,10 +42,10 @@ BlockInfo::initialize_local(const DoFHandler& dof) std::vector sizes(fe.n_blocks()); base_elements.resize(fe.n_blocks()); - + for (unsigned int i=0;i& dof) { initialize((DoFHandler&) dof); - - std::vector > sizes; + + std::vector > sizes (dof.get_tria().n_levels()); + for (unsigned int i=0; i