/src/main/java/net/finmath/montecarlo/RandomVariableLazyEvaluation.java
sumOfSquared += valueIfNonStochastic * realization;
sumOfSquared += realization * realization;
return Double.NaN; } double sum = 0.0; double sumOfSquared = 0.0; for (final double realization : getRealizations()) { sum += realization; <extra_id_0> } return sumOfSquared/size() - sum/size() * sum/size(); } @Override public double getVariance(final RandomVariable probabilities) { if(isDeterministic()) {