Skip to content

Commit

Permalink
refs #7539 Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
abuts committed Sep 10, 2013
1 parent 7a4ba26 commit 2bc24d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Code/Mantid/Framework/MDAlgorithms/src/ConvertToMD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -798,8 +798,8 @@ void ConvertToMD::findMinMax(const Mantid::API::MatrixWorkspace_sptr &inWS,const
minVal = childAlg->getProperty("MinValues");
maxVal = childAlg->getProperty("MaxValues");

// additional dimensions produce ws with 0 width, change it to have some width;
for(unsigned int i=nMatrixDim;i<nDim;i++)
// if some min-max values for dimensions produce ws with 0 width in this direction, change it to have some width;
for(unsigned int i=0;i<nDim;i++)
{
if(minVal[i]>=maxVal[i])
{
Expand Down

0 comments on commit 2bc24d1

Please sign in to comment.