Skip to content
Snippets Groups Projects
Commit 841047ce authored by Anton Piccardo-Selg's avatar Anton Piccardo-Selg
Browse files

Refs #14241 Fix pylint warning

parent 85b9adfa
No related merge requests found
......@@ -376,7 +376,7 @@ void Q1D2::calculateNormalization(const size_t wavStart, const size_t specInd,
// use that the normalization array ends at the start of the error array
for (MantidVec::iterator n = norm, e = normETo2; n != normETo2; ++n, ++e) {
*n = detectorAdj;
*e = detAdjErr * detAdjErr;
*e = detAdjErr *detAdjErr;
}
if (binNorms && binNormEs) {
......@@ -583,7 +583,7 @@ void Q1D2::convertWavetoQ(const size_t specInd, const bool doGravity,
// different for each bin with each detector
const double sinTheta = grav.calcSinTheta(lambda);
// Now we're ready to go to Q
*Qs = FOUR_PI * sinTheta / lambda;
*Qs = FOUR_PI *sinTheta / lambda;
}
} else {
// Calculate the Q values for the current spectrum, using Q =
......
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