From: Denis Davydov Date: Wed, 10 Aug 2016 15:40:11 +0000 (+0200) Subject: fix a SmartPointer bug in MGCoarseGridApplySmoother X-Git-Tag: v8.5.0-rc1~781^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a898a11a99a227c453294b7837ab3d881de27544;p=dealii.git fix a SmartPointer bug in MGCoarseGridApplySmoother --- diff --git a/include/deal.II/multigrid/mg_coarse.h b/include/deal.II/multigrid/mg_coarse.h index bcc9f16c9f..54be911ad7 100644 --- a/include/deal.II/multigrid/mg_coarse.h +++ b/include/deal.II/multigrid/mg_coarse.h @@ -63,7 +63,7 @@ private: /** * Reference to the smoother. */ - SmartPointer,Multigrid > coarse_smooth; + SmartPointer, MGCoarseGridApplySmoother > coarse_smooth; }; @@ -245,7 +245,7 @@ void MGCoarseGridApplySmoother::initialize (const MGSmootherBase &coarse_smooth_) { coarse_smooth = - SmartPointer,Multigrid > + SmartPointer, MGCoarseGridApplySmoother > (&coarse_smooth_,typeid(*this).name()); }