/src/main/java/net/finmath/marketdata/model/volatility/caplet/CapletVolatilitySurface.java
if( maturityGreaterEqualIndex > maturityVector.length-1) { int maturityGreaterEqualIndex = closestIndex; }
int maturityGreaterEqualIndex = closestIndex;
} if(distance == 0) { final LinearSmileInterpolater linearSmileInterpolater = new LinearSmileInterpolater(volatilityMatrix, strikeVector); value = linearSmileInterpolater.calculateInterpolatedExtrapolatedSmileVolatility(strike, closestIndex); } else { <extra_id_0> if(maturityGreaterEqualIndex < 0) { maturityGreaterEqualIndex = -maturityGreaterEqualIndex-1; } if(maturityGreaterEqualIndex > maturityVector.length-1) { maturityGreaterEqualIndex = maturityVector.length-1; }