]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix small problem with the clear() function.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 16 Aug 1999 15:54:02 +0000 (15:54 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 16 Aug 1999 15:54:02 +0000 (15:54 +0000)
git-svn-id: https://svn.dealii.org/trunk@1706 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/grid/tria.cc

index bec37120b59d5cce8bd13b857994b8216232a506..640ff904e948ce7c51dd155774b035363c794409 100644 (file)
@@ -81,7 +81,8 @@ void Triangulation<dim>::clear ()
   for (unsigned int i=0; i<255; ++i)
     {
       boundary[i]->unsubscribe ();
-      boundary[i] = 0;
+      boundary[i] = &straight_boundary;
+      straight_boundary.subscribe ();
     };
 
   number_cache = TriaNumberCache<dim>();

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.