From: hartmann Date: Tue, 8 Jun 2004 07:31:02 +0000 (+0000) Subject: Make it compile with gcc2.95. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5e54768c57d0adfeb0e39083ef8b82109fafa4a;p=dealii-svn.git Make it compile with gcc2.95. git-svn-id: https://svn.dealii.org/trunk@9409 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 78965de50b..000cb3d2e5 100644 --- a/deal.II/lac/include/lac/block_matrix_base.h +++ b/deal.II/lac/include/lac/block_matrix_base.h @@ -1173,7 +1173,7 @@ BlockMatrixBase::add (const unsigned int i, // save some cycles for zero additions, but // only if it is safe for the matrix we are // working with - if ((MatrixType::Traits::zero_addition_can_be_elided == true) + if ((MatrixType::Traits.zero_addition_can_be_elided == true) && (value == 0)) return;