Skip to content

Commit

Permalink
refs #5626. Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
OwenArnold committed Jul 26, 2012
1 parent 0e3d743 commit 20e716d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ namespace Mantid
MatrixWorkspace_sptr NormaliseByDetector::processHistograms(MatrixWorkspace_sptr inWS)
{
const size_t nHistograms = inWS->getNumberHistograms();
const size_t progress_items = nHistograms * 1.2;
const size_t progress_items = static_cast<size_t>(double(nHistograms) * 1.2);
Progress prog(this,0.0,1.0, progress_items);
// Clone the input workspace to create a template for the denominator workspace.
IAlgorithm_sptr cloneAlg = this->createSubAlgorithm("CloneWorkspace", 0.0, 0.1, true);
Expand Down

0 comments on commit 20e716d

Please sign in to comment.