Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
841047ce
Commit
841047ce
authored
9 years ago
by
Anton Piccardo-Selg
Browse files
Options
Downloads
Patches
Plain Diff
Refs #14241 Fix pylint warning
parent
85b9adfa
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Framework/Algorithms/src/Q1D2.cpp
+2
-2
2 additions, 2 deletions
Framework/Algorithms/src/Q1D2.cpp
with
2 additions
and
2 deletions
Framework/Algorithms/src/Q1D2.cpp
+
2
−
2
View file @
841047ce
...
...
@@ -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 =
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment