/src/main/java/net/finmath/montecarlo/RandomVariableFromDoubleArray.java
final double[] realisationsSorted = realizations.clone( ) ;
final double[] realizationsSorted = realizations.clone ( ) ;
break; } } histogramValues[intervalPoints.length] = 1.0; } else { <extra_id_0> java.util.Arrays.sort(realizationsSorted); int sampleIndex=0; for (int intervalIndex=0; intervalIndex<intervalPoints.length; intervalIndex++) { int sampleCount = 0; while (sampleIndex < realizationsSorted.length &&