diff --git a/libsrc/meshing/meshtype.hpp b/libsrc/meshing/meshtype.hpp index bbc5b527..a850fb32 100644 --- a/libsrc/meshing/meshtype.hpp +++ b/libsrc/meshing/meshtype.hpp @@ -1246,7 +1246,7 @@ namespace netgen /// if non-zero, baseelement must have baseelnp points int baseelnp = 0; /// quality tolerances are handled less careful - bool sloppy = true; + int sloppy = 1; /// limit for max element angle (150-180) double badellimit = 175; diff --git a/libsrc/meshing/python_mesh.hpp b/libsrc/meshing/python_mesh.hpp index bbe75a97..8a35cd8b 100644 --- a/libsrc/meshing/python_mesh.hpp +++ b/libsrc/meshing/python_mesh.hpp @@ -143,7 +143,7 @@ elsizeweight: float = 0.2 if(kwargs.contains("baseelnp")) mp.baseelnp = py::cast(kwargs["baseelnp"]); if(kwargs.contains("sloppy")) - mp.sloppy = py::cast(kwargs["sloppy"]); + mp.sloppy = py::cast(kwargs["sloppy"]); if(kwargs.contains("badellimit")) mp.badellimit = py::cast(kwargs["badellimit"]); if(kwargs.contains("check_impossible"))