]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix a SmartPointer bug in MGCoarseGridApplySmoother 2946/head
authorDenis Davydov <davydden@gmail.com>
Wed, 10 Aug 2016 15:40:11 +0000 (17:40 +0200)
committerDenis Davydov <davydden@gmail.com>
Wed, 10 Aug 2016 15:40:11 +0000 (17:40 +0200)
include/deal.II/multigrid/mg_coarse.h

index bcc9f16c9fd6ef1fcf97b8ddc3d3040ee2463c36..54be911ad7a09314193d95521d6328a94583cdaa 100644 (file)
@@ -63,7 +63,7 @@ private:
   /**
    * Reference to the smoother.
    */
-  SmartPointer<const MGSmootherBase<VectorType>,Multigrid<VectorType> > coarse_smooth;
+  SmartPointer<const MGSmootherBase<VectorType>, MGCoarseGridApplySmoother<VectorType> > coarse_smooth;
 };
 
 
@@ -245,7 +245,7 @@ void
 MGCoarseGridApplySmoother<VectorType>::initialize (const MGSmootherBase<VectorType> &coarse_smooth_)
 {
   coarse_smooth =
-    SmartPointer<const MGSmootherBase<VectorType>,Multigrid<VectorType> >
+    SmartPointer<const MGSmootherBase<VectorType>, MGCoarseGridApplySmoother<VectorType> >
     (&coarse_smooth_,typeid(*this).name());
 }
 

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.