Skip to content
Snippets Groups Projects
Commit 2b6773a1 authored by Anthony Lim's avatar Anthony Lim
Browse files

refs #20776 some clean up of code

parent 6f47cf7e
No related branches found
No related tags found
No related merge requests found
......@@ -128,14 +128,9 @@ std::map<std::string, std::string> PhaseQuadMuon::validateInputs() {
phaseCount += 1;
}
}
}
for (std::string name : names) {
for (std::string goodName : asymmNames) {
if (name == goodName) {
if (name == goodName) {
asymmetryCount += 1;
}
}
}
}
......@@ -295,7 +290,7 @@ PhaseQuadMuon::squash(const API::MatrixWorkspace_sptr &ws,
auto &realE = ows->mutableE(0);
auto &imagE = ows->mutableE(1);
const auto &xPointData = ws->histogram(0).points();
const auto xPointData = ws->histogram(0).points();
// First X value
const double X0 = xPointData.front();
......
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