Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
William Xu
SPINS_main
Commits
bdb877c6
Commit
bdb877c6
authored
May 08, 2017
by
David Deepwell
Browse files
Increase the precision of diagnostics to .17g
See also commit:
46ca2c72
parent
8701eded
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/BaseCase.cpp
src/BaseCase.cpp
+1
-1
No files found.
src/BaseCase.cpp
View file @
bdb877c6
...
...
@@ -396,7 +396,7 @@ template <class T> void BaseCase::add_diagnostic(const string str, const T val,
header
.
append
(
str
+
", "
);
// append to the line of values
ostringstream
oss
;
oss
.
precision
(
1
2
);
oss
.
precision
(
1
7
);
oss
<<
scientific
<<
val
;
line
.
append
(
oss
.
str
()
+
", "
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment