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
cf772b90
Commit
cf772b90
authored
Feb 21, 2017
by
Samuel Jackson
Browse files
Refs #18920 Fix warning in GCC
parent
78f91ef8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Framework/DataObjects/test/PeakTest.h
View file @
cf772b90
...
...
@@ -486,7 +486,8 @@ public:
int
index
=
0
;
std
::
vector
<
double
>
angles
(
8
);
std
::
generate
(
angles
.
begin
(),
angles
.
end
(),
[
&
index
,
&
angles
]()
{
return
static_cast
<
double
>
(
index
++
)
*
M_PI
/
angles
.
size
();
return
static_cast
<
double
>
(
index
++
)
*
M_PI
/
static_cast
<
double
>
(
angles
.
size
());
});
std
::
for_each
(
angles
.
begin
(),
angles
.
end
(),
testTheta
);
...
...
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