Skip to content
Snippets Groups Projects
Commit 6885ddec authored by Gemma Guest's avatar Gemma Guest
Browse files

Revert "Re #21749: Use maximum precision when converting to string."

This reverts commit bd6530b5.

I'm reverting the change to precision in Parameter.h for now because this is causing test failures which are out of scope for this PR.

Re #21749
parent 06d78d41
No related branches found
No related tags found
No related merge requests found
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
#include <typeinfo> #include <typeinfo>
#include <vector> #include <vector>
#include <stdexcept> #include <stdexcept>
#include <iomanip>
namespace Mantid { namespace Mantid {
...@@ -186,7 +185,6 @@ template <class T> void Parameter::set(const T &t) { ...@@ -186,7 +185,6 @@ template <class T> void Parameter::set(const T &t) {
*/ */
template <class Type> std::string ParameterType<Type>::asString() const { template <class Type> std::string ParameterType<Type>::asString() const {
std::ostringstream str; std::ostringstream str;
str << std::setprecision(std::numeric_limits<Type>::digits10);
str << m_value; str << m_value;
return str.str(); return str.str();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment