]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Mark up input parameters as we usually do.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 18 Feb 2011 02:53:44 +0000 (02:53 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 18 Feb 2011 02:53:44 +0000 (02:53 +0000)
git-svn-id: https://svn.dealii.org/trunk@23390 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/lac/constraint_matrix.h

index ed50171782e0a0324ce2d19acb85a6a0980d4866..22fb5afdfaef9fac76aec51db4fd5709cea4d389 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 by the deal.II authors
+//    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -562,7 +562,7 @@ class ConstraintMatrix : public Subscriptor
                                       * line. Unconstrained dofs also return a
                                       * zero value.
                                       */
-    double get_inhomogeneity (unsigned int line) const;
+    double get_inhomogeneity (const unsigned int line) const;
 
                                     /**
                                      * Print the constraint lines. Mainly
@@ -1906,7 +1906,7 @@ ConstraintMatrix::get_constraint_entries (unsigned int line) const
 
 inline
 double
-ConstraintMatrix::get_inhomogeneity (unsigned int line) const
+ConstraintMatrix::get_inhomogeneity (const unsigned int line) const
 {
                                // check whether the entry is
                                // constrained. could use is_constrained, but

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.