diff --git a/Applications/Utils/MeshEdit/CreateBoundaryConditionsAlongPolylines.cpp b/Applications/Utils/MeshEdit/CreateBoundaryConditionsAlongPolylines.cpp index 4c99a8fa8af07325f3ff1342bd893a8511ab5305..b845923089e16b6d621c7a693a9a70b4246c1ae9 100644 --- a/Applications/Utils/MeshEdit/CreateBoundaryConditionsAlongPolylines.cpp +++ b/Applications/Utils/MeshEdit/CreateBoundaryConditionsAlongPolylines.cpp @@ -127,7 +127,7 @@ int main (int argc, char* argv[]) ' ', "0.1"); TCLAP::ValueArg<bool> gml_arg("", "gml", - "if switched on write found nodes to file in gml format", false, 0, "bool"); + "if switched on write found nodes to file in gml format", false, false, "bool"); cmd.add(gml_arg); TCLAP::ValueArg<std::string> output_base_fname("o", "output-base-file-name", diff --git a/Applications/Utils/MeshEdit/ResetPropertiesInPolygonalRegion.cpp b/Applications/Utils/MeshEdit/ResetPropertiesInPolygonalRegion.cpp index 72cb7ca9bcc55087a14fb84d04a22b3753f7dd4a..e0455f37d127d444dfe43229fc1d7b3ea361fb95 100644 --- a/Applications/Utils/MeshEdit/ResetPropertiesInPolygonalRegion.cpp +++ b/Applications/Utils/MeshEdit/ResetPropertiesInPolygonalRegion.cpp @@ -141,7 +141,7 @@ int main (int argc, char* argv[]) "new property value (data type int)", false, 0, "number"); cmd.add(int_property_arg); TCLAP::ValueArg<bool> bool_property_arg("b", "bool-property-value", - "new property value (data type bool)", false, 0, "boolean value"); + "new property value (data type bool)", false, false, "boolean value"); cmd.add(bool_property_arg); TCLAP::ValueArg<std::string> property_name_arg("n", "property-name", "name of property in the mesh", false, "MaterialIDs", "string"); diff --git a/GeoLib/IO/AsciiRasterInterface.cpp b/GeoLib/IO/AsciiRasterInterface.cpp index 59f9e27eda3bf4dcd40e46a9689be07c799c51fd..d8eca1d222ad5d15e6f40171ff31e8e5f87798f0 100644 --- a/GeoLib/IO/AsciiRasterInterface.cpp +++ b/GeoLib/IO/AsciiRasterInterface.cpp @@ -181,7 +181,7 @@ bool AsciiRasterInterface::readSurferHeader( else { ERR("Error in readSurferHeader() - Anisotropic cellsize detected."); - return 0; + return false; } header.no_data = min-1; in >> min >> max;