<h3>lac</h3>
<ol>
+ <li>
+ <p>
+ 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.
+ </p>
+ <br>
+ (WB 2010/01/06)
+ </li>
+
<li>
<p>
Fixed: SparsityPattern::copy_from crashed whenever a compressed sparsity
// $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
reinit (csp.n_block_rows(), csp.n_block_cols());
// copy over blocks
- for (unsigned int i=0; i<rows; ++i)
- for (unsigned int j=0; j<rows; ++j)
+ for (unsigned int i=0; i<n_block_rows(); ++i)
+ for (unsigned int j=0; j<n_block_cols(); ++j)
block(i,j).copy_from (csp.block(i,j));
// and finally enquire their new