Commit 11e094a70cf7bea31e0d92bef81ac4ac09175c1c

Authored by Benjamin Renard
1 parent db1e413d

Fix transtype error in average method 2

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/Parameters/DataTypeMath.hh
@@ -383,7 +383,7 @@ @@ -383,7 +383,7 @@
383 ++nbNan; 383 ++nbNan;
384 } 384 }
385 } 385 }
386 - mean = sum / (tab.size() - nbNan); 386 + mean = sum / (int)(tab.size() - nbNan);
387 } 387 }
388 } 388 }
389 return mean; 389 return mean;