/src/main/java/net/finmath/montecarlo/RandomVariableLazyEvaluation.java
else argumentf( !isDeterministic( ) && i.isDeterministic( ) ) {
else if ( !isDeterministic ( ) && argument.isDeterministic ( ) ) {
@Override public RandomVariable apply(final DoubleBinaryOperator operator, final RandomVariable argument) { final double newTime = Math.max(time, argument.getFiltrationTime()); if(isDeterministic() && argument.isDeterministic()) { return new RandomVariableLazyEvaluation(newTime, operator.applyAsDouble(valueIfNonStochastic, argument.get(0))); } <extra_id_0> final IntToDoubleFunction newRealizations = new IntToDoubleFunction() { @Override public double applyAsDouble(final int i) { return operator.applyAsDouble(realizations.applyAsDouble(i), argument.get(0)); } };