[chronojump] fixed rjEvolution stats findBestContinuous now better



commit ecbabd189883e4d30fc373c4daa8e02e9529c344
Author: Xavier de Blas <xaviblas gmail com>
Date:   Sun Mar 13 19:02:28 2011 +0100

    fixed rjEvolution stats findBestContinuous now better

 src/stats/rjEvolution.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/stats/rjEvolution.cs b/src/stats/rjEvolution.cs
index b8b694c..e5392f2 100644
--- a/src/stats/rjEvolution.cs
+++ b/src/stats/rjEvolution.cs
@@ -98,7 +98,7 @@ public class StatRjEvolution : Stat
 		//read all values in pairs tc,tv
 		//start in pos 3 because first is name, second is index, third fall
 		//end in Length-numContinuous*2 because we should not count only the last tc,tv pair or the last two, only the last three
-		for ( int i=3; i < statValues.Length -numContinuous*2 ; i=i+2 ) 
+		for ( int i=3; i <= statValues.Length -numContinuous*2 ; i=i+2 ) 
 		{
 			double myCount = 0;
 			bool jumpFinished = false;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]