Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mantidproject
mantid
Commits
9d109f04
Commit
9d109f04
authored
Sep 08, 2017
by
Hahn, Steven
Browse files
reduce scope of variable.
parent
e3ecc260
Changes
1
Hide whitespace changes
Inline
Side-by-side
Framework/DataObjects/test/PeakTest.h
View file @
9d109f04
...
...
@@ -454,7 +454,6 @@ public:
}
void
test_setQSampleFrameVirtualDetectorWithScatteringAngle
()
{
constexpr
auto
radius
=
10.
;
auto
sphereInst
=
ComponentCreationHelper
::
createTestInstrumentRectangular
(
5
,
100
);
auto
extendedSpaceObj
=
...
...
@@ -468,6 +467,7 @@ public:
// extended space is a sphere, so all points should fall radius*detector
// direction away from the detector direction with extended space
auto
testTheta
=
[
this
,
&
sphereInst
](
const
double
theta
)
{
constexpr
auto
radius
=
10.
;
const
auto
expectedDir
=
V3D
(
sin
(
theta
),
0.
,
cos
(
theta
));
// test without extended detector space
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment