Commit 1a377909 authored by Samuel Jackson's avatar Samuel Jackson
Browse files

Refs #20441 Apply clang-format patch

parent a6f561ef
......@@ -579,8 +579,8 @@ public:
p.setIntensity(intensity);
p.setSigmaIntensity(sigma);
const double expectedResult {0.0};
const double tolerance {1e-10};
const double expectedResult{0.0};
const double tolerance{1e-10};
TS_ASSERT_DELTA(p.getIntensityOverSigma(), expectedResult, tolerance);
}
......
......@@ -174,12 +174,8 @@ QPeaksTableModel::QPeaksTableModel(
},
[](const IPeak &peak) { return QVariant(peak.getRow()); },
[](const IPeak &peak) { return QVariant(peak.getCol()); },
[](const IPeak &peak) {
return QVariant(peak.getQLabFrame().norm());
},
[](const IPeak &peak) {
return QVariant(peak.getQSampleFrame().norm());
},
[](const IPeak &peak) { return QVariant(peak.getQLabFrame().norm()); },
[](const IPeak &peak) { return QVariant(peak.getQSampleFrame().norm()); },
};
const auto hklPrec = m_hklPrec;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment