From eee9b0e4ab8e789b50b8c214efbc3073ca47b193 Mon Sep 17 00:00:00 2001 From: Timo Koch <timo.koch@iws.uni-stuttgart.de> Date: Sat, 25 Jan 2020 18:51:38 +0100 Subject: [PATCH] [params][fix] Consistently ignore defaults in hasKey/hasKeyInGroup This has been forgotten in bug fix commit 61c2158e200e873adf2b745fb3a7768245d06db9 --- dumux/common/loggingparametertree.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dumux/common/loggingparametertree.hh b/dumux/common/loggingparametertree.hh index 7770aac769..51db99292c 100644 --- a/dumux/common/loggingparametertree.hh +++ b/dumux/common/loggingparametertree.hh @@ -83,7 +83,7 @@ public: return true; auto compoundKey = groupPrefix + "." + key; - if (params_.hasKey(compoundKey) || defaultParams_.hasKey(compoundKey)) + if (params_.hasKey(compoundKey)) return true; compoundKey = findKeyInGroup(params_, key, groupPrefix); -- GitLab