Skip to content

Commit 590f703

Browse files
committed
Fix Issue #953
1 parent 757e285 commit 590f703

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
@@ -58,7 +58,10 @@ namespace mfront {
5858
p->name + "'");
5959
const auto pv =
6060
p->getAttribute<double>(VariableDescription::defaultValue);
61+
const auto prec = os.precision();
62+
os.precision(14);
6163
os << p->name << "(" << pv << ")";
64+
os.precision(prec);
6265
if (++p != mpd.parameters.end()) {
6366
os << ",\n";
6467
}

0 commit comments

Comments
 (0)