Skip to content

Commit 03f4ff7

Browse files
committedNov 27, 2011
array init fix
1 parent 6e1d38c commit 03f4ff7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎tests/bench/qgsbench.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,9 +210,9 @@ void QgsBench::render()
210210
mLogMap.insert( "iterations", mTimes.size() );
211211

212212
// Calc stats: user, sys, total
213-
double avg[3], min[3], max[3];
213+
double maxdev[3], min[3], max[3];
214214
double stdev[3] = {0.};
215-
double maxdev[3] = {0.};
215+
double avg[3] = {0.};
216216

217217
for ( int t = 0; t < 3; t++ )
218218
{

0 commit comments

Comments
 (0)
Please sign in to comment.