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