From: wolf Date: Wed, 17 Jan 2001 09:28:24 +0000 (+0000) Subject: Fix left-over from bug std:: merge. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb2f942b9fcb16ff5cb88eaa2154f681c356dda3;p=dealii-svn.git Fix left-over from bug std:: merge. git-svn-id: https://svn.dealii.org/trunk@3711 0785d39b-7218-0410-832d-ea1e28bc413d --- 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