]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Also fix TransfiniteInterpolationManifold::initialize 10461/head
authorDaniel Arndt <arndtd@ornl.gov>
Fri, 5 Jun 2020 03:03:17 +0000 (23:03 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Fri, 5 Jun 2020 03:07:08 +0000 (23:07 -0400)
source/grid/manifold_lib.cc

index 51ddbc2fb4d8b754e72ae57d90c1a1f7b5494345..1fb2f23840802b084ea52ab8a1673ddabc7fbd73 100644 (file)
@@ -1672,7 +1672,8 @@ TransfiniteInterpolationManifold<dim, spacedim>::initialize(
   const Triangulation<dim, spacedim> &triangulation)
 {
   this->triangulation = &triangulation;
-  // in case the triangulatoin is cleared, remove the pointers by a signal
+  // in case the triangulation is cleared, remove the pointers by a signal
+  clear_signal.disconnect();
   clear_signal = triangulation.signals.clear.connect([&]() -> void {
     this->triangulation = nullptr;
     this->level_coarse  = -1;

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.