Skip to content

Commit

Permalink
[BUGFIX] Fixed invalid return type
Browse files Browse the repository at this point in the history
  • Loading branch information
hasherezade committed Sep 7, 2021
1 parent b8752e3 commit 1820463
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paramkit/include/params.h
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ namespace paramkit {

IntParam *param = dynamic_cast<IntParam*>(itr->second);
if (!param) {
return false;
return 0;
}
return param->value;
}
Expand Down

0 comments on commit 1820463

Please sign in to comment.