/src/main/java/net/finmath/montecarlo/RandomVariableFromFloatArray.java
if( quantileEnd > intervalPoints[intervalIndex]) {
if ( valueIfNonStochastic > intervalPoints[intervalIndex] ) {
{ final double[] histogramValues = new double[intervalPoints.length+1]; if(isDeterministic()) { java.util.Arrays.fill(histogramValues, 0.0); for (int intervalIndex=0; intervalIndex<intervalPoints.length; intervalIndex++) { <extra_id_0> histogramValues[intervalIndex] = 1.0; break; } } histogramValues[intervalPoints.length] = 1.0; }