Skip to content

Commit 42c9d67

Browse files
committed
Fix Issue #953
1 parent dcf56ed commit 42c9d67

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

0 commit comments

Comments
 (0)