Fixed hidden field warning.

This commit is contained in:
Luc Maisonobe 2015-01-26 10:21:07 +01:00
parent e7bf6afe50
commit f3e1598dfd
1 changed files with 2 additions and 2 deletions

View File

@ -232,8 +232,8 @@ public class SummaryStatistics implements StatisticalSummary, Serializable {
* have been added.
*/
public double getQuadraticMean() {
final long n = getN();
return n > 0 ? FastMath.sqrt(getSumsq() / n) : Double.NaN;
final long size = getN();
return size > 0 ? FastMath.sqrt(getSumsq() / size) : Double.NaN;
}
/**