Skip to content
Snippets Groups Projects
Commit cde606e1 authored by Samuel Jones's avatar Samuel Jones
Browse files

Re #22515 Working Ver.

parent 8cdb155a
No related branches found
No related tags found
No related merge requests found
......@@ -58,7 +58,7 @@ private:
std::vector<std::size_t> &workspaceIndecies,
Mantid::API::MatrixWorkspace_const_sptr inputWorkspace,
Mantid::API::MatrixWorkspace_sptr outputWorkspace, const size_t sizeOfY,
unsigned int SpecNum, bool isAProperHistogram);
unsigned int SpecNum/*, bool isAProperHistogram*/);
void copyXandDxToOutputWorkspace(
std::vector<std::size_t> &workspaceIndecies,
......@@ -71,10 +71,10 @@ private:
Mantid::API::MatrixWorkspace_const_sptr inputWorkspace,
Mantid::API::MatrixWorkspace_sptr outputWorkspace,
const size_t sizeOfX, const size_t sizeOfY,
unsigned int specNum, bool isAProperHistogram);
unsigned int specNum/*, bool isAProperHistogram*/);
bool determineIfHistogramIsValid(
Mantid::API::MatrixWorkspace_const_sptr inputWorkspace);
/*bool determineIfHistogramIsValid(
Mantid::API::MatrixWorkspace_const_sptr inputWorkspace);*/
};
} // namespace Algorithms
......
......@@ -43,7 +43,7 @@ void SortXAxis::exec() {
MatrixWorkspace_sptr outputWorkspace = inputWorkspace->clone();
// Check if it is a valid histogram here
bool isAProperHistogram = determineIfHistogramIsValid(inputWorkspace);
/*bool isAProperHistogram = determineIfHistogramIsValid(inputWorkspace);*/
// Define everything you can outside of the for loop
// Assume that all spec are the same size
......@@ -61,7 +61,7 @@ void SortXAxis::exec() {
sortIndicesByX(workspaceIndicies, theOrder, inputWorkspace, specNum);
copyToOutputWorkspace(workspaceIndicies, inputWorkspace, outputWorkspace,
sizeOfX, sizeOfY, specNum, isAProperHistogram);
sizeOfX, sizeOfY, specNum/*, isAProperHistogram*/);
PARALLEL_END_INTERUPT_REGION
}
PARALLEL_CHECK_INTERUPT_REGION
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment