Skip to content

Commit

Permalink
Commit 07 Refs #3493 fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Lottie Greenwood committed Nov 6, 2014
1 parent 9a0f247 commit 0c5432e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Code/Mantid/Framework/DataHandling/src/SaveAscii2.cpp
Expand Up @@ -296,11 +296,11 @@ namespace Mantid
{
if (m_isHistogram & m_isCommonBins) // bin centres,
{
file << m_ws->readX(0)[bin]; //+ m_ws->readX(0)[bin+1] )/2
file << ( m_ws->readX(0)[bin] + m_ws->readX(0)[bin+1] )/2;
}
else if (!m_isCommonBins) //checking for ragged workspace
{
file << (m_ws->readX(spectraIndex)[bin]);
file << ( m_ws->readX(spectraIndex)[bin] + m_ws->readX(spectraIndex)[bin+1] )/2;
}
else // data points
{
Expand Down

0 comments on commit 0c5432e

Please sign in to comment.