Skip to content
Snippets Groups Projects
Commit e2bf3611 authored by renchao.lu's avatar renchao.lu
Browse files

[CL] Output full precision.

parent 1e925d03
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,7 @@
#include <boost/algorithm/string.hpp>
#include <cmath>
#include <fstream>
#include <iomanip>
#include <numeric>
#include "BaseLib/Algorithm.h"
......@@ -212,6 +213,8 @@ void PhreeqcIO::writeInputsToFile(double const dt)
_phreeqc_input_file);
}
out << std::scientific
<< std::setprecision(std::numeric_limits<double>::digits10);
out << (*this << dt);
if (!out)
......
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