/src/main/java/net/finmath/montecarlo/RandomVariableLazyEvaluation.java
} return getRealizationsStream( ).sum( ) /size( ) ;
return getRealizationsStream ( ) .sum ( ) /size ( ) ; }
if(isDeterministic()) { return valueIfNonStochastic; } if(size() == 0) { return Double.NaN; } <extra_id_0> @Override public double getAverage(final RandomVariable probabilities) { if(isDeterministic()) { return valueIfNonStochastic * probabilities.getAverage(); } if(size() == 0) {