diff --git a/dune/common/parametertree.cc b/dune/common/parametertree.cc index 448f50a16fb31c7a51d24463f69f3a1e41289756..d9c0f4fc9c9f7aa14df72ededa4d36de7cba4700 100644 --- a/dune/common/parametertree.cc +++ b/dune/common/parametertree.cc @@ -203,7 +203,7 @@ bool ParameterTree::get(const string& key, bool defaultValue) const return true; if (ret == "no" || ret == "false") - return true; + return false; return (atoi(ret.c_str()) !=0 ); } @@ -251,7 +251,7 @@ namespace Dune { return true; if (ret == "no" || ret == "false") - return true; + return false; return (std::atoi(ret.c_str()) !=0 ); }