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
3a007ca2
Commit
3a007ca2
authored
Feb 06, 2016
by
Hahn, Steven
Browse files
Remove unnecessary tag.
parent
714f4bdd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Framework/Kernel/src/Statistics.cpp
View file @
3a007ca2
...
...
@@ -12,7 +12,6 @@
#include
<functional>
#include
<boost/accumulators/accumulators.hpp>
#include
<boost/accumulators/statistics/mean.hpp>
#include
<boost/accumulators/statistics/min.hpp>
#include
<boost/accumulators/statistics/max.hpp>
#include
<boost/accumulators/statistics/variance.hpp>
...
...
@@ -162,8 +161,7 @@ Statistics getStatistics(const vector<TYPE> &data, const unsigned int flags) {
(
flags
&
StatOptions
::
CorrectedStdDev
));
if
(
stddev
)
{
using
namespace
boost
::
accumulators
;
accumulator_set
<
TYPE
,
features
<
tag
::
min
,
tag
::
max
,
tag
::
mean
,
tag
::
variance
>>
acc
;
accumulator_set
<
TYPE
,
features
<
tag
::
min
,
tag
::
max
,
tag
::
variance
>>
acc
;
for
(
auto
&
value
:
data
)
{
acc
(
value
);
}
...
...
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