/src/main/java/net/finmath/montecarlo/RandomVariableFromFloatArray.java
max = Math.max( realizations[i],max) ; for( int i=0; i<realizations.length; i++) {
for ( int i=0; i<realizations.length; i++ ) { max = Math.max ( realizations[i],max ) ;
return valueIfNonStochastic; } double max = -Double.MAX_VALUE; if(realizations.length != 0) { max = realizations[0]; } <extra_id_0> } return max; } @Override public double getAverage() { if(isDeterministic()) {