Skip to content
Permalink
Browse files
array init fix
  • Loading branch information
blazek committed Nov 27, 2011
1 parent 6e1d38c commit 03f4ff7
Showing 1 changed file with 2 additions and 2 deletions.
@@ -210,9 +210,9 @@ void QgsBench::render()
mLogMap.insert( "iterations", mTimes.size() );

// Calc stats: user, sys, total
double avg[3], min[3], max[3];
double maxdev[3], 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 03f4ff7

Please sign in to comment.