From: bangerth Date: Sun, 29 Mar 2009 04:16:14 +0000 (+0000) Subject: Change the name of a member function. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=968039f081ea9d444b748093cd22ee15f1ee3a34;p=dealii-svn.git Change the name of a member function. git-svn-id: https://svn.dealii.org/trunk@18524 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/block_matrix_base.h b/deal.II/lac/include/lac/block_matrix_base.h index baf6cd6c50..582b8764f5 100644 --- a/deal.II/lac/include/lac/block_matrix_base.h +++ b/deal.II/lac/include/lac/block_matrix_base.h @@ -61,7 +61,7 @@ struct IsBlockMatrix * exception of BlockSparseMatrixEZ. */ template - static yes_type is_derived_from_BlockMatrixBase (const BlockMatrixBase *); + static yes_type check_for_block_matrix (const BlockMatrixBase *); /** * Overload for BlockSparseMatrixEZ, @@ -70,14 +70,14 @@ struct IsBlockMatrix * time of writing this class. */ template - static yes_type is_derived_from_BlockMatrixBase (const BlockSparseMatrixEZ *); + static yes_type check_for_block_matrix (const BlockSparseMatrixEZ *); /** * Catch all for all other potential * matrix types that are not block * matrices. */ - static no_type is_derived_from_BlockMatrixBase (...); + static no_type check_for_block_matrix (...); public: /** @@ -87,7 +87,7 @@ struct IsBlockMatrix * matrix (in fact whether the type is * derived from BlockMatrix). */ - static const bool value = (sizeof(is_derived_from_BlockMatrixBase + static const bool value = (sizeof(check_for_block_matrix ((MatrixType*)0)) == sizeof(yes_type));