ENH: mesh tools: max write precision

This commit is contained in:
mattijs
2013-10-29 09:59:21 +00:00
parent 95c06af87e
commit 41650787b1
18 changed files with 29 additions and 26 deletions

View File

@ -303,7 +303,7 @@ int main(int argc, char *argv[])
}
// Set the precision of the points data to 10
IOstream::defaultPrecision(10);
IOstream::defaultPrecision(max(10u, IOstream::defaultPrecision()));
Info<< "Writing points into directory " << points.path() << nl << endl;
points.write();