Skip to content

Commit 8a32c7c

Browse files
committed
Fix Issue #953
1 parent 1cb855d commit 8a32c7c

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

docs/web/release-notes-3.0.17.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ The page describes the new functionalities of Version 3.0.17 of the
2222

2323
# Issues fixed
2424

25+
## Issue 953: Extending the precision of the default parameters value for material properties
26+
27+
For more details, see <https://github.com/thelfer/tfel/issues/953>.
28+
2529
## Issue 948: [tfel-system] fix dir separator on `window`
2630

2731
For more details, see <https://github.com/thelfer/tfel/issues/948>.

mfront-query/src/mfront-query.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ int main(const int argc, const char* const* const argv) {
576576
<< "--list-behaviour-mtest-tests : "
577577
<< "list all the mtest tests associated with a set of "
578578
<< "behaviours in a madnex file\n"
579-
<< "--list-behaviour-mfm-test-genartor-tests : "
579+
<< "--list-behaviour-mfm-test-generator-tests : "
580580
<< "list all the mtest tests associated with a set of "
581581
<< "behaviours in a madnex file\n"
582582
<< "--list-models : "

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)