Skip to content

Commit

Permalink
Merge Pull Request trilinos#12202 from mayrmt/Trilinos/nox-sreen-output
Browse files Browse the repository at this point in the history
Automatically Merged using Trilinos Pull Request AutoTester
PR Title: b'NOX: Fix font and formatting in screen output'
PR Author: mayrmt
  • Loading branch information
trilinos-autotester committed Sep 5, 2023
2 parents 32fbd30 + 523a29e commit d3953b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nox/src/NOX_Utils.C
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ NOX::Utils::Sci NOX::Utils::sciformat(double dval, int p)

std::ostream& NOX::operator<<(std::ostream& os, const NOX::Utils::Sci& s)
{
os.setf(std::ios::scientific);
os.setf(std::ios::scientific, std::ios::floatfield);
std::streamsize p = os.precision();
os.precision(s.p);
os << std::setw(s.p + 6) << s.d;
Expand Down

0 comments on commit d3953b4

Please sign in to comment.