From: guido Date: Tue, 11 Mar 2003 10:09:25 +0000 (+0000) Subject: BlockSparseMatrixEZ in lib X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e851a0de9b9aa5e03d80392d508c8f6f76c3b82a;p=dealii-svn.git BlockSparseMatrixEZ in lib git-svn-id: https://svn.dealii.org/trunk@7310 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/block_sparse_matrix_ez.templates.h b/deal.II/lac/include/lac/block_sparse_matrix_ez.templates.h index efda1927c6..cef984a3bd 100644 --- a/deal.II/lac/include/lac/block_sparse_matrix_ez.templates.h +++ b/deal.II/lac/include/lac/block_sparse_matrix_ez.templates.h @@ -58,8 +58,10 @@ BlockSparseMatrixEZ & BlockSparseMatrixEZ:: operator = (const BlockSparseMatrixEZ &m) { - Assert (n_block_rows() == m.n_block_rows(), ExcIncompatibleObjects()); - Assert (n_block_cols() == m.n_block_cols(), ExcIncompatibleObjects()); + Assert (n_block_rows() == m.n_block_rows(), + ExcDimensionMismatch(n_block_rows(), m.n_block_rows())); + Assert (n_block_cols() == m.n_block_cols(), + ExcDimensionMismatch(n_block_cols(), m.n_block_cols())); // this operator does not do // anything except than checking // whether the base objects want to @@ -131,14 +133,14 @@ BlockSparseMatrixEZ::collect_sizes () // first find out the row sizes // from the first block column for (unsigned int r=0; r::collect_sizes () // then do the same with the columns for (unsigned int c=0; c + +// explicit instantiations +template class BlockSparseMatrixEZ; +template class BlockSparseMatrixEZ;