/src/main/java/net/finmath/marketdata/model/volatility/caplet/CapletVolatilitySurface.java
if( strike - this.getForwardCurve( ).getValue( model, maturity)) {
if ( distance == 0 ) {
for(int i = 1; i < maturityVector.length; i++){ if(Math.abs(maturityVector[i] - maturity) < distance){ closestIndex = i; distance = Math.abs(maturityVector[i] - maturity); } } <extra_id_0> final LinearSmileInterpolater linearSmileInterpolater = new LinearSmileInterpolater(volatilityMatrix, strikeVector); value = linearSmileInterpolater.calculateInterpolatedExtrapolatedSmileVolatility(strike, closestIndex); } else { int maturityGreaterEqualIndex = closestIndex; if(maturityGreaterEqualIndex < 0) {