Skip to content

Commit

Permalink
re #7246 better now, but needs more tests and testing
Browse files Browse the repository at this point in the history
  • Loading branch information
NickDraper committed Jun 5, 2013
1 parent 9ced42a commit 7c3ea80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Code/Mantid/Framework/Algorithms/src/ConvertAxisByFormula.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,15 +145,15 @@ namespace Algorithms
MantidVec::iterator iter;
for (iter = outputWs->dataX(0).begin(); iter != outputWs->dataX(0).end(); ++iter)
{
axisValue = axisPtr->getValue(i);
axisValue = *iter;
double result = p.Eval();
*iter = result;
}

MantidVecPtr xVals;
xVals.access() = outputWs->dataX(0);

PARALLEL_FOR1(outputWS)
PARALLEL_FOR1(outputWs)
for (int64_t j = 1; j < numberOfSpectra_i; ++j)
{
PARALLEL_START_INTERUPT_REGION
Expand Down

0 comments on commit 7c3ea80

Please sign in to comment.