]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make default constructor more reasonable.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 21 Jul 1999 18:19:57 +0000 (18:19 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 21 Jul 1999 18:19:57 +0000 (18:19 +0000)
git-svn-id: https://svn.dealii.org/trunk@1618 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/include/base/data_out_base.h
deal.II/base/source/data_out_base.cc

index 7f4e37a3dfc93183d306eea68feac74a0a554d40..fb8be00ec841d68dc4ac10cfd9ca5dcdf5109c8c 100644 (file)
@@ -298,10 +298,11 @@ class DataOutBase
        FullMatrix<double> data;
        
                                         /**
-                                         * Default constructor.
+                                         * Default constructor. Sets
+                                         * #n_subdivisions# to one.
                                          */
        Patch () :
-                       n_subdivisions(0) {};
+                       n_subdivisions(1) {};
     };
 
 
index 03c76d5b185111712bab6a2c25ba7e87f370068a..ab403d4b574aeff43d7da9b5157afdad15af6c97 100644 (file)
@@ -12,7 +12,7 @@
 //
 // template <int dim>
 // DataOut::Patch<dim>::Patch () :
-//             n_subdivisions (0)
+//             n_subdivisions (1)
 //                              // all the rest has a constructor of its own
 // {};
 

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.