From: bangerth Date: Sun, 6 Oct 2013 18:21:36 +0000 (+0000) Subject: Fix a bug introduced in the previous version. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fce03fba461f7abc52f018f54e97b16a4d2b122;p=dealii-svn.git Fix a bug introduced in the previous version. git-svn-id: https://svn.dealii.org/trunk@31152 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-42/step-42.cc b/deal.II/examples/step-42/step-42.cc index 964684bb32..efaa9302ba 100644 --- a/deal.II/examples/step-42/step-42.cc +++ b/deal.II/examples/step-42/step-42.cc @@ -1789,7 +1789,7 @@ namespace Step42 residual_norm = residual.l2_norm(); - if (newton_step==0 || residual_norm < previous_residual_norm) + if (newton_step==1 || residual_norm < previous_residual_norm) damped = true; pcout << " Residual of the non-contact part of the system: "