From 61c2158e200e873adf2b745fb3a7768245d06db9 Mon Sep 17 00:00:00 2001 From: Timo Koch <timo.koch@iws.uni-stuttgart.de> Date: Mon, 3 Jun 2019 19:32:53 +0200 Subject: [PATCH] [bugfix][params] Do not look for defaults in hasKey --- dumux/common/loggingparametertree.hh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/dumux/common/loggingparametertree.hh b/dumux/common/loggingparametertree.hh index ca50911ec1..feae24e46a 100644 --- a/dumux/common/loggingparametertree.hh +++ b/dumux/common/loggingparametertree.hh @@ -60,7 +60,7 @@ public: * \return true if key exists in structure, otherwise false */ bool hasKey(const std::string& key) const - { return params_.hasKey(key) || defaultParams_.hasKey(key); } + { return params_.hasKey(key); } /** \brief test for key in group * @@ -90,10 +90,6 @@ public: if (compoundKey != "") return true; - compoundKey = findKeyInGroup(defaultParams_, key, groupPrefix); - if (compoundKey != "") - return true; - return false; } -- GitLab