From: bangerth Date: Wed, 6 Jan 2010 10:05:29 +0000 (+0000) Subject: Fix one more problem. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4049ed61e7b08ae27f6b4e8cacb89198e18277e2;p=dealii-svn.git Fix one more problem. git-svn-id: https://svn.dealii.org/trunk@20305 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/doc/news/changes.h b/deal.II/doc/news/changes.h index 365cbd11db..446b0ef498 100644 --- a/deal.II/doc/news/changes.h +++ b/deal.II/doc/news/changes.h @@ -376,6 +376,16 @@ inconvenience this causes.

lac

    +
  1. +

    + Fixed: BlockSparsityPattern::copy_from accidentally only copied + n_block_rows times n_block_rows blocks, instead of n_block_rows + times n_block_cols. This is now fixed. +

    +
    + (WB 2010/01/06) +
  2. +
  3. Fixed: SparsityPattern::copy_from crashed whenever a compressed sparsity diff --git a/deal.II/lac/source/block_sparsity_pattern.cc b/deal.II/lac/source/block_sparsity_pattern.cc index 72a4b26575..213c4bb587 100644 --- a/deal.II/lac/source/block_sparsity_pattern.cc +++ b/deal.II/lac/source/block_sparsity_pattern.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009 by the deal.II authors +// Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 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 @@ -390,8 +390,8 @@ BlockSparsityPattern::copy_from (const BlockCompressedSparsityPattern &csp) reinit (csp.n_block_rows(), csp.n_block_cols()); // copy over blocks - for (unsigned int i=0; i