From: Wolfgang Bangerth Date: Sun, 6 Oct 2013 18:21:36 +0000 (+0000) Subject: Fix a bug introduced in the previous version. X-Git-Tag: v8.1.0~629 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c87409d413fb37acd85e35534d3dbe6e22c1d033;p=dealii.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: "