From c87409d413fb37acd85e35534d3dbe6e22c1d033 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Sun, 6 Oct 2013 18:21:36 +0000 Subject: [PATCH] Fix a bug introduced in the previous version. git-svn-id: https://svn.dealii.org/trunk@31152 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-42/step-42.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: " -- 2.39.5