/src/main/java/net/finmath/interpolation/BiLinearInterpolation.java
if ( indexGreaterOrEqualY < 0) {   indexGreaterOrEqualY = ( -indexGreaterOrEqualY) - 1; }
[Delete]
@Override public Double apply(final Double x, final Double y) { return getValue(x, y); } double getValue(final double x, final double y) { int indexGreaterOrEqualX = Arrays.binarySearch(this.x, x); <extra_id_0> indexGreaterOrEqualX = -indexGreaterOrEqualX-1; } int upperIndexX = Math.min(Math.max(indexGreaterOrEqualX, 0), this.x.length-1); final int lowerIndexX = Math.min(Math.max(upperIndexX-1, 0), this.x.length-1); int indexGreaterOrEqualY = Arrays.binarySearch(this.y, y); if(indexGreaterOrEqualY < 0) {