]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix small bug: Make it compile for general VECTOR classes.
authorhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 12 May 2003 14:25:16 +0000 (14:25 +0000)
committerhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 12 May 2003 14:25:16 +0000 (14:25 +0000)
git-svn-id: https://svn.dealii.org/trunk@7625 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/multigrid/mg_smoother.h

index 0f890c68212d7f63ca944acb4026b2ff8b1d3c22..b6899fa323c8408bd9c1581cc38fb129de66d7da 100644 (file)
@@ -523,8 +523,8 @@ MGSmootherRelaxation<MATRIX, RELAX, VECTOR>::smooth(
   if (variable)
     steps2 *= (1<<(maxlevel-level));
 
-  Vector<double>* r = mem.alloc();
-  Vector<double>* d = mem.alloc();
+  VECTOR* r = mem.alloc();
+  VECTOR* d = mem.alloc();
   r->reinit(u);
   d->reinit(u);
 

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.