Commit e94992a0 authored by incardon's avatar incardon

Fixing performance test

parent f946375d
......@@ -19,7 +19,6 @@ static inline void warning_set(int & warning_level, double mean, double mean_ref
{
int warning_level_candidate;
mean = 0;
if (mean - mean_ref < -2.0*sigma )
warning_level_candidate = -1;
else if (mean - mean_ref < 2.0*sigma)
......@@ -83,6 +82,7 @@ void addUpdtateTime(GoogleChart & cg);
*/
static inline void standard_deviation(openfpm::vector<double> measures, double & mean, double & dev)
{
mean = 0;
for (size_t i = 0 ; i < measures.size() ; i++)
mean += measures.get(i);
mean /= measures.size();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment