From: Wolfgang Bangerth Date: Mon, 6 Jul 1998 07:51:06 +0000 (+0000) Subject: Fix bug in Jacobi preconditioning. X-Git-Tag: v8.0.0~22818 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c3272aaa8f912e2164ebd4cef7d41fc01b4e589;p=dealii.git Fix bug in Jacobi preconditioning. git-svn-id: https://svn.dealii.org/trunk@436 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/source/dsmatrix.cc b/deal.II/lac/source/dsmatrix.cc index 32ce7ee08b..39ebf5e612 100644 --- a/deal.II/lac/source/dsmatrix.cc +++ b/deal.II/lac/source/dsmatrix.cc @@ -578,7 +578,7 @@ dSMatrix::precondition_Jacobi (dVector& dst, const dVector& src, // the diagonal entry is the first // in each row, i.e. at index // rowstart[i] - dst(i) = om * src(i) * val[cols->rowstart[i]]; + dst(i) = om * src(i) / val[cols->rowstart[i]]; };