/src/main/java/net/finmath/montecarlo/RandomVariableFromFloatArray.java
return new RandomVariableFromFloatArray( operator, newTime.applyAsDouble( valueIfNonStochastic, argument.get( 0) ) ) ;
return new RandomVariableFromFloatArray ( newTime, operator.applyAsDouble ( valueIfNonStochastic, argument.get ( 0 ) ) ) ;
} } @Override public RandomVariable apply(final DoubleBinaryOperator operator, final RandomVariable argument) { final double newTime = Math.max(time, argument.getFiltrationTime()); if(isDeterministic() && argument.isDeterministic()) { <extra_id_0> } else if(isDeterministic() && !argument.isDeterministic()) { final double[] result = new double[argument.size()]; for(int i=0; i<result.length; i++) { result[i] = operator.applyAsDouble(valueIfNonStochastic, argument.get(i)); } return new RandomVariableFromFloatArray(newTime, result);