Skip to content

Commit

Permalink
Correct the SpectrumNumbering from SaveRKH
Browse files Browse the repository at this point in the history
  • Loading branch information
gesnerpassos committed Mar 21, 2013
1 parent 8c85d54 commit 6f7ba78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/Mantid/Framework/DataHandling/src/SaveRKH.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ void SaveRKH::write1D()
else
{
try {
XVal = m_workspace->getAxis(1)->spectraNo(i);
XVal = m_workspace->getSpectrum(i)->getSpectrumNo();
} catch (...) { XVal = i+1; }
}

Expand Down

0 comments on commit 6f7ba78

Please sign in to comment.