Increase output precision for ascii dumps.

This commit is contained in:
Atgeirr Flø Rasmussen 2012-10-02 14:39:12 +02:00
parent bcc03ef41d
commit 69f8d98f8f
2 changed files with 2 additions and 0 deletions

View File

@ -196,6 +196,7 @@ namespace Opm
if (!file) {
THROW("Failed to open " << fname.str());
}
file.precision(15);
const std::vector<double>& d = *(it->second);
std::copy(d.begin(), d.end(), std::ostream_iterator<double>(file, "\n"));
}

View File

@ -244,6 +244,7 @@ namespace Opm
if (!file) {
THROW("Failed to open " << fname.str());
}
file.precision(15);
const std::vector<double>& d = *(it->second);
std::copy(d.begin(), d.end(), std::ostream_iterator<double>(file, "\n"));
}