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
e72f58b8
Commit
e72f58b8
authored
Feb 20, 2017
by
Samuel Jackson
Browse files
Refs #18920 Remove auto from lambda
This is not supported by our compilers yet.
parent
8a1588ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Framework/DataObjects/test/PeakTest.h
View file @
e72f58b8
...
...
@@ -391,7 +391,7 @@ public:
// test with & without extended detector space
// extended space is a sphere, so all points should fall radius*detector
// direction away from the detector direction with extended space
auto
testQ
=
[
this
,
&
sphereInst
,
&
refFrame
,
&
refBeamDir
](
const
auto
q
)
{
auto
testQ
=
[
this
,
&
sphereInst
,
&
refFrame
,
&
refBeamDir
](
const
V3D
&
q
)
{
// Compute expected direction
const
auto
qBeam
=
q
.
scalar_prod
(
refBeamDir
);
const
double
norm_q
=
q
.
norm
();
...
...
@@ -466,7 +466,7 @@ public:
// test with & without extended detector space
// 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
,
&
radius
](
const
auto
theta
)
{
auto
testTheta
=
[
this
,
&
sphereInst
,
&
radius
](
const
double
theta
)
{
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