From a898a11a99a227c453294b7837ab3d881de27544 Mon Sep 17 00:00:00 2001 From: Denis Davydov Date: Wed, 10 Aug 2016 17:40:11 +0200 Subject: [PATCH] fix a SmartPointer bug in MGCoarseGridApplySmoother --- include/deal.II/multigrid/mg_coarse.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()); } -- 2.39.5