]> https://gitweb.dealii.org/ - dealii.git/commitdiff
remove unused variable in TriangulationWrapper 5135/head
authorDenis Davydov <davydden@gmail.com>
Sun, 24 Sep 2017 05:04:54 +0000 (07:04 +0200)
committerDenis Davydov <davydden@gmail.com>
Sun, 24 Sep 2017 05:04:54 +0000 (07:04 +0200)
contrib/python-bindings/include/triangulation_wrapper.h
contrib/python-bindings/source/triangulation_wrapper.cc

index 4ddc5d63830710484eb09b07e7196f8cd4da5f70..c80f956dc81ee447723e38017930484181242010 100644 (file)
@@ -334,11 +334,6 @@ namespace python
      */
     void setup(const std::string &dimension, const std::string &spacedimension);
 
-    /**
-     * Flag is true if the vector cells has been updated.
-     */
-    bool updated;
-
     /**
      * Dimension of the underlying Triangulation object.
      */
index 753587c74185e3575d59d9a1c0a601fc0c96ef69..20d673c769ee572ac23d0ee3635d61d29f06283e 100644 (file)
@@ -466,8 +466,6 @@ namespace python
 
 
   TriangulationWrapper::TriangulationWrapper(const std::string &dimension)
-    :
-    updated(false)
   {
     if ((dimension.compare("2D")==0) || (dimension.compare("2d")==0))
       setup("2D", "2D");
@@ -481,8 +479,6 @@ namespace python
 
   TriangulationWrapper::TriangulationWrapper(const std::string &dimension,
                                              const std::string &spacedimension)
-    :
-    updated(false)
   {
     setup(dimension, spacedimension);
   }

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.