]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Default a couple template arguments for the most common case.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 13 Feb 2010 04:35:56 +0000 (04:35 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 13 Feb 2010 04:35:56 +0000 (04:35 +0000)
git-svn-id: https://svn.dealii.org/trunk@20588 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/multigrid/mg_coarse.h

index 7a51c724a931b85070d5d3781501301b5cf8af9f..aa0872232ca5d0b356e6edcd40595551d721b1a4 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2009 by the deal.II authors
+//    Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2010 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -128,7 +128,7 @@ class MGCoarseGridLACIteration :  public MGCoarseGridBase<VECTOR>
  *
  * @author Guido Kanschat, 2003
  */
-template<typename number, class VECTOR>
+template<typename number = double, class VECTOR = Vector<number> >
 class MGCoarseGridHouseholder : public MGCoarseGridBase<VECTOR>
 {
   public:

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.