From 182046391c0186fdee16e6ffa500291047729d50 Mon Sep 17 00:00:00 2001 From: hasherezade Date: Tue, 7 Sep 2021 13:43:53 +0200 Subject: [PATCH] [BUGFIX] Fixed invalid return type --- paramkit/include/params.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paramkit/include/params.h b/paramkit/include/params.h index 1bf893e..4c5cbaf 100644 --- a/paramkit/include/params.h +++ b/paramkit/include/params.h @@ -169,7 +169,7 @@ namespace paramkit { IntParam *param = dynamic_cast(itr->second); if (!param) { - return false; + return 0; } return param->value; }