// $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
* of this object.
*/
unsigned int memory_consumption () const;
-
- /** @addtogroup Exceptions
- * @{ */
-
- /**
- * Exception
- */
- DeclException0 (ExcBlockDimensionMismatch);
- //@}
private:
/**
* Pointer to the block sparsity
BlockSparseMatrix<number>::
operator = (const BlockSparseMatrix<number> &m)
{
- Assert (this->row_block_indices == m.row_block_indices,
- ExcBlockDimensionMismatch());
- Assert (this->column_block_indices == m.column_block_indices,
- ExcBlockDimensionMismatch());
-
+ AssertDimension (this->row_block_indices, m.row_block_indices);
+ AssertDimension (this->column_block_indices, m.column_block_indices);
+
// this operator does not do
// anything except than checking
// whether the base objects want to