/src/main/java/net/finmath/marketdata/model/curves/locallinearregression/Partition.java
} else if ( x>=points[points.length-1]) { return 0;
return 0; } else if ( x>=points[points.length-1] ) {
final double[] points ){ this(points,0.5); } public int getIntervalNumber(final double x) { if (x<points[0]) { <extra_id_0> return points.length; } for(int i=0; i<points.length-2;i++) { if ( x< points[i+1]) { return i+1; }