diff --git a/Applications/DataExplorer/mainwindow.cpp b/Applications/DataExplorer/mainwindow.cpp index d02b9ba48a4e4414f30f899df83affce3c4efc65..86390cbfacc918d567ecd9d8bce6b84dadd25d6a 100644 --- a/Applications/DataExplorer/mainwindow.cpp +++ b/Applications/DataExplorer/mainwindow.cpp @@ -898,11 +898,11 @@ void MainWindow::callGMSH(std::vector<std::string> & selectedGeometries, if (!fileName.isEmpty()) { if (param4 == -1) { // adaptive meshing selected - gmsh_io.setPrecision(20); GMSHInterface gmsh_io( *(_project.getGEOObjects()), true, FileIO::GMSH::MeshDensityAlgorithm::AdaptiveMeshDensity, param2, param3, param1, selectedGeometries); + gmsh_io.setPrecision(std::numeric_limits<double>::digits10); gmsh_io.writeToFile(fileName.toStdString()); } else { // homogeneous meshing selected GMSHInterface gmsh_io(