diff --git a/Framework/Algorithms/src/SortXAxis.cpp b/Framework/Algorithms/src/SortXAxis.cpp index 23c43e834bde750fb75684c7eac1bfafdd65e82b..b27d675cf3a2db7ecbd03ae19ff3e4d0ba6b5ca4 100644 --- a/Framework/Algorithms/src/SortXAxis.cpp +++ b/Framework/Algorithms/src/SortXAxis.cpp @@ -125,8 +125,8 @@ void SortXAxis::copyYandEToOutputWorkspace( // If Histogram data find the biggest index value and remove it from // workspaceIndicies if (inputWorkspace->isHistogramData()) { - auto lastIndexIt = std::find(workspaceIndicies.begin(), - workspaceIndicies.end(), sizeOfY); + auto lastIndexIt = + std::find(workspaceIndicies.begin(), workspaceIndicies.end(), sizeOfY); workspaceIndicies.erase(lastIndexIt); }