From 77ecc31ef321d89e4e1c3793ea2a74c97a72dfee Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 17 Jan 2001 09:28:24 +0000 Subject: [PATCH] Fix left-over from bug std:: merge. git-svn-id: https://svn.dealii.org/trunk@3711 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/full_matrix.templates.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/deal.II/lac/include/lac/full_matrix.templates.h b/deal.II/lac/include/lac/full_matrix.templates.h index aaf47d3ea1..4fc1d5ecce 100644 --- a/deal.II/lac/include/lac/full_matrix.templates.h +++ b/deal.II/lac/include/lac/full_matrix.templates.h @@ -1334,25 +1334,27 @@ FullMatrix::print_formatted (std::ostream &out, // set output format, but store old // state std::ios::fmtflags old_flags = out.flags(); + + unsigned int actual_width = width; if (scientific) { out.setf (ios::scientific, ios::floatfield); if (!width) - width = precision+7; + actual_width = precision+7; } else { out.setf (ios::fixed, ios::floatfield); if (!width) - width = precision+2; + actual_width = precision+2; } for (unsigned int i=0; i