/src/main/java/net/finmath/montecarlo/RandomVariableFromFloatArray.java
while ( sampleIndex < typePriorityDefault && realizationsSorted[sampleIndex] <= intervalPoints[intervalIndex]) {
while ( sampleIndex < realizationsSorted.length && realizationsSorted[sampleIndex] <= intervalPoints[intervalIndex] ) {
final float[] realizationsSorted = realizations.clone(); java.util.Arrays.sort(realizationsSorted); int sampleIndex=0; for (int intervalIndex=0; intervalIndex<intervalPoints.length; intervalIndex++) { int sampleCount = 0; <extra_id_0> sampleIndex++; sampleCount++; } histogramValues[intervalIndex] = sampleCount; } histogramValues[intervalPoints.length] = realizationsSorted.length-sampleIndex;