Skip to content

Commit

Permalink
Fix warning. Refs #7787
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiSavici committed Aug 21, 2013
1 parent 39d2187 commit 55cf262
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace WorkflowAlgorithmHelpers
int getIntPropOrParam(const std::string &algProp,
Kernel::PropertyManager_sptr &pm, const std::string &instParam,
API::MatrixWorkspace_sptr &ws,
const double overrideValue = Mantid::EMPTY_INT());
const int overrideValue = Mantid::EMPTY_INT());

/// Function to get boolean property or instrument parameter value
bool getBoolPropOrParam(const std::string &algProp,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ namespace WorkflowAlgorithmHelpers
*/
int getIntPropOrParam(const std::string &pmProp, Kernel::PropertyManager_sptr &pm,
const std::string &instParam, API::MatrixWorkspace_sptr &ws,
const double overrideValue)
const int overrideValue)
{
int defaultValue = EMPTY_INT();
int param = defaultValue;
Expand Down

0 comments on commit 55cf262

Please sign in to comment.