]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Qualify call to n_elements().
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 6 Mar 2005 21:40:29 +0000 (21:40 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 6 Mar 2005 21:40:29 +0000 (21:40 +0000)
git-svn-id: https://svn.dealii.org/trunk@10015 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/full_matrix.templates.h

index 33e2dc5173026d0dd55a62f4964439b047ce751b..5d7d8296f3a11ee5e653b1afad49b68d1865c13c 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 by the deal.II authors
+//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -83,7 +83,7 @@ FullMatrix<number>::all_zero () const
   Assert (!this->empty(), ExcEmptyMatrix());
   
   const number* p = this->data();
-  const number* const e = this->data() + n_elements();
+  const number* const e = this->data() + this->n_elements();
   while (p!=e)
     if (*p++ != 0.0)
       return false;

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.