From: wolf Date: Mon, 27 Mar 2000 11:53:12 +0000 (+0000) Subject: Mostly formatting work. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24b80d2ffbe4c697732fa30345c23fd45490f264;p=dealii-svn.git Mostly formatting work. git-svn-id: https://svn.dealii.org/trunk@2634 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/solver_minres.h b/deal.II/lac/include/lac/solver_minres.h index be9bb51010..78098f2524 100644 --- a/deal.II/lac/include/lac/solver_minres.h +++ b/deal.II/lac/include/lac/solver_minres.h @@ -189,11 +189,10 @@ SolverMinRes::solve (const Matrix &A, int j = 1; - // Start of the solving process - + // Start of the solution process A.vmult(m[0],x); u[1] = b; - u[1].add(-1.,m[0]); + u[1] -= m[0]; // Precondition is applied. // The preconditioner has to be // positiv definite and symmetric @@ -226,7 +225,7 @@ SolverMinRes::solve (const Matrix &A, v.reinit(VS,0); A.vmult(u[2],v); - u[2].add(-sqrt(delta[1]/delta[0]),u[0]); + u[2].add (-sqrt(delta[1]/delta[0]), u[0]); gamma = u[2] * v; u[2].add (-gamma / sqrt(delta[1]), u[1]);