Commit bdb877c6 authored by David Deepwell's avatar David Deepwell
Browse files

Increase the precision of diagnostics to .17g

See also commit: 46ca2c72
parent 8701eded
...@@ -396,7 +396,7 @@ template <class T> void BaseCase::add_diagnostic(const string str, const T val, ...@@ -396,7 +396,7 @@ template <class T> void BaseCase::add_diagnostic(const string str, const T val,
header.append(str + ", "); header.append(str + ", ");
// append to the line of values // append to the line of values
ostringstream oss; ostringstream oss;
oss.precision(12); oss.precision(17);
oss << scientific << val; oss << scientific << val;
line.append(oss.str() + ", "); line.append(oss.str() + ", ");
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment