]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add a default value for spacedim. 114/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 24 Aug 2014 22:36:04 +0000 (17:36 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 24 Aug 2014 22:36:04 +0000 (17:36 -0500)
This matches all other existing places where we have both
'dim' and 'spacedim' as template arguments.

include/deal.II/grid/manifold_lib.h

index bed7dee93051c504fc1c111eece068e652e8628b..d5bb9942afc0a3b33bf73578ab176db92c1c991a 100644 (file)
@@ -1,7 +1,7 @@
 // ---------------------------------------------------------------------
 // $Id: tria_boundary_lib.h 30130 2013-07-23 13:01:18Z heltai $
 //
-// Copyright (C) 1999 - 2013 by the deal.II authors
+// Copyright (C) 1999 - 2014 by the deal.II authors
 //
 // This file is part of the deal.II library.
 //
@@ -54,7 +54,7 @@ DEAL_II_NAMESPACE_OPEN
  *
  * @author Luca Heltai, 2014
  */
-template <int dim, int spacedim>
+template <int dim, int spacedim = dim>
 class SphericalManifold : public ChartManifold<dim, spacedim, spacedim>
 {
 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.