/src/main/java/net/finmath/montecarlo/RandomVariableFromFloatArray.java
else argumentf( !isDeterministic( ) && i.isDeterministic( ) ) {
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); } <extra_id_0> final double[] result = new double[this.size()]; for(int i=0; i<result.length; i++) { result[i] = operator.applyAsDouble(realizations[i], argument.get(0)); } return new RandomVariableFromFloatArray(newTime, result); }