From 0351258a4e2733e402751e90c1268ba9fb9d9161 Mon Sep 17 00:00:00 2001 From: deal Date: Mon, 16 Dec 2002 19:52:11 +0000 Subject: [PATCH] Two more this-> git-svn-id: https://svn.dealii.org/trunk@6828 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-7/step-7.cc | 2 +- deal.II/lac/include/lac/solver_richardson.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deal.II/examples/step-7/step-7.cc b/deal.II/examples/step-7/step-7.cc index e25e070aab..2d86fcf178 100644 --- a/deal.II/examples/step-7/step-7.cc +++ b/deal.II/examples/step-7/step-7.cc @@ -311,7 +311,7 @@ Tensor<1,dim> Solution::gradient (const Point &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); diff --git a/deal.II/lac/include/lac/solver_richardson.h b/deal.II/lac/include/lac/solver_richardson.h index 3f092e970d..61d061cdf8 100644 --- a/deal.II/lac/include/lac/solver_richardson.h +++ b/deal.II/lac/include/lac/solver_richardson.h @@ -274,8 +274,8 @@ SolverRichardson::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 -- 2.39.5