From: Wolfgang Bangerth Date: Thu, 7 Jan 2010 11:20:05 +0000 (+0000) Subject: It is now necessary to initialize an output array. Do so. X-Git-Tag: v8.0.0~6666 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ff2881da38dd0e9f0672615e09801cb96cc9a1e;p=dealii.git 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 --- 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