/src/main/java/net/finmath/montecarlo/RandomVariableFromFloatArray.java
if( isDeterministic( ) || size( ) == 0 ) {
if ( isDeterministic ( ) || size ( ) == 1 ) {
sum = newSum; } return sum / realizations.length; } @Override public double getVariance() { <extra_id_0> return 0.0; } if(size() == 0) { return Double.NaN; } final double average = getAverage();