Add more decimals to node coordinates to improve accuracy

This commit is contained in:
jonjenssen authored and jonjenssen committed 2024-03-04 23:47:27 +01:00
1 parent a2fa2a0e77
commit bcc4f7c901
1 file changed
+1 -1
@@ -61,7 +61,7 @@ bool RifInpExportTools::printNodes( std::ostream& stream, const std::vector<cvf:
for ( size_t i = 0; i < nodes.size(); i++ )
{
stream << i + 1 << ", " << std::setprecision( 10 ) << nodes[i].x() << ", " << nodes[i].y() << ", " << nodes[i].z() << std::endl;
stream << i + 1 << ", " << nodes[i].x() << ", " << std::setprecision( 15 ) << nodes[i].y() << ", " << nodes[i].z() << std::endl;
}
return stream.good();