Skip to content

Commit 6978840

Browse files
committed
Fix Issue #953
1 parent 9aeb9a9 commit 6978840

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mfront/src/MaterialPropertyParametersHandler.cxx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,10 @@ namespace mfront {
5656
"no default value for parameter '" +
5757
*p + "'"));
5858
}
59+
const auto prec = os.precision();
60+
os.precision(14);
5961
os << *p << "(" << pv->second << ")";
62+
os.precision(prec);
6063
if (++p != mpd.parameters.end()) {
6164
os << ",\n";
6265
}

0 commit comments

Comments
 (0)