]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make it C++ conforming
authorhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 8 Jun 2004 13:12:49 +0000 (13:12 +0000)
committerhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 8 Jun 2004 13:12:49 +0000 (13:12 +0000)
git-svn-id: https://svn.dealii.org/trunk@9412 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/block_matrix_base.h

index 000cb3d2e5582f0744d7482845f917a69745d768..387c9848c67a6b46f830763b75a5793ba42b0cf6 100644 (file)
@@ -1173,7 +1173,8 @@ BlockMatrixBase<MatrixType>::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)
+  typedef typename MatrixType::Traits MatrixTraits;
+  if ((MatrixTraits::zero_addition_can_be_elided == true)
       &&
       (value == 0))
     return;

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.