Skip to content

Commit

Permalink
Refs #8385 Cast variable to the correct type.
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Jackson committed Nov 7, 2013
1 parent 55c0a04 commit 49edbc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/Mantid/Framework/MDAlgorithms/test/ThresholdMDTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class ThresholdMDTest : public CxxTest::TestSuite

MDHistoWorkspace_sptr createInputWorkspace(signal_t signal, signal_t errorSQ=0, const int nBins=1)
{
MDHistoDimension_sptr dim = boost::make_shared<MDHistoDimension>("X", "X", "", 0, 10, nBins);
MDHistoDimension_sptr dim = boost::make_shared<MDHistoDimension>("X", "X", "", static_cast<coord_t>(0), static_cast<coord_t>(10), static_cast<size_t>(nBins));
MDHistoWorkspace_sptr histo = boost::make_shared<MDHistoWorkspace>(dim);
signal_t* signals = histo->getSignalArray();
signal_t* errorsSQ = histo->getErrorSquaredArray();
Expand Down

0 comments on commit 49edbc5

Please sign in to comment.