]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Two more this->
authordeal <deal@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 16 Dec 2002 19:52:11 +0000 (19:52 +0000)
committerdeal <deal@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 16 Dec 2002 19:52:11 +0000 (19:52 +0000)
git-svn-id: https://svn.dealii.org/trunk@6828 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-7/step-7.cc
deal.II/lac/include/lac/solver_richardson.h

index e25e070aab994f2f9dcd06917042061363956aac..2d86fcf1789fb0ee5ca4c3cd3bfbbddea64bcab5 100644 (file)
@@ -311,7 +311,7 @@ Tensor<1,dim> Solution<dim>::gradient (const Point<dim>   &p,
                                       // multiples of this distance
                                       // vector, where the factor is
                                       // given by the exponentials.
-      return_value += (-2 / (width*width) *
+      return_value += (-2 / (this->width * this->width) *
                       std::exp(-shifted_point.square() /
                                (this->width * this->width)) *
                       shifted_point);
index 3f092e970db43b2666b44655fcfe1ac7e9cb2f38..61d061cdf8312ba5e97ab3015c4ca0081214fb85 100644 (file)
@@ -274,8 +274,8 @@ SolverRichardson<VECTOR>::Tsolve (const MATRIX         &A,
     }
 
                                   // Deallocate Memory
-  memory.free(Vr);
-  memory.free(Vd);
+  this->memory.free(Vr);
+  this->memory.free(Vd);
 
   deallog.pop();
                                   // in case of failure: throw

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.