Skip to content
Snippets Groups Projects
Commit 6386e8d6 authored by Alberto Nidasio's avatar Alberto Nidasio
Browse files

[Deserializer] Fixed floating point digits limit

parent b692844e
No related branches found
No related tags found
No related merge requests found
......@@ -155,6 +155,9 @@ void Deserializer::printType(T& t, std::string path, std::string prefix)
// Print the header in the file
*stream << T::header();
// Set stream precision to maximum float precision
stream->precision(flt::max_digits10);
// Add the file to the vector such that it will be closed
fileStreams.emplace(demangledTypeName, stream);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment