Skip to content
Permalink
Browse files
maxdev must also be inited
  • Loading branch information
blazek committed Nov 27, 2011
1 parent 03f4ff7 commit dc56ea9b246bb4f54f08ca4cdb0ef6a329b630ec
Showing with 2 additions and 1 deletion.
  1. +2 −1 tests/bench/qgsbench.cpp
@@ -210,8 +210,9 @@ void QgsBench::render()
mLogMap.insert( "iterations", mTimes.size() );

// Calc stats: user, sys, total
double maxdev[3], min[3], max[3];
double min[3], max[3];
double stdev[3] = {0.};
double maxdev[3] = {0.};
double avg[3] = {0.};

for ( int t = 0; t < 3; t++ )

0 comments on commit dc56ea9

Please sign in to comment.