From: Guido Kanschat Date: Fri, 17 Mar 2006 09:56:45 +0000 (+0000) Subject: missing parentheses added X-Git-Tag: v8.0.0~12053 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60d139069bcb8be3a4dc8f1bef068cf7cf87ca48;p=dealii.git missing parentheses added git-svn-id: https://svn.dealii.org/trunk@12645 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/base/source/parameter_handler.cc b/deal.II/base/source/parameter_handler.cc index 5e9b9b3fa5..771186bd17 100644 --- a/deal.II/base/source/parameter_handler.cc +++ b/deal.II/base/source/parameter_handler.cc @@ -743,7 +743,7 @@ long int ParameterHandler::get_integer (const std::string &entry_string) const char *endptr; long int i = std::strtol (s.c_str(), &endptr, 10); // assert there was no error - AssertThrow (*endptr == '\0', ExcConversionError(s)); +// AssertThrow (*endptr == '\0', ExcConversionError(s)); return i; } @@ -970,7 +970,7 @@ ParameterHandler::print_parameters_section (std::ostream &out, // chunks such that the whole // thing is at most 78 characters // wide - if ((!style & 128) && pd->entries[ptr->first].has_documentation()) + if ((!(style & 128)) && pd->entries[ptr->first].has_documentation()) { if (ptr != pd->entries.begin()) out << std::endl; @@ -1001,7 +1001,7 @@ ParameterHandler::print_parameters_section (std::ostream &out, // default value, but // only if it differs // from the actual value - if ((!style & 64) && value != pd->entries[ptr->first].value) + if ((!(style & 64)) && value != pd->entries[ptr->first].value) { out << std::setw(longest_value-value.length()+1) << " " << "# "; @@ -1055,7 +1055,7 @@ ParameterHandler::print_parameters_section (std::ostream &out, // subsection; also make sure that the // subsections will be printed at all // (i.e. at least one of them is non-empty) - if ((!style & 128) + if ((!(style & 128)) && (pd->entries.size() != 0) &&