/src/main/java/net/finmath/marketdata/products/Cap.java
final double volatility = volatilitySurface.getValue( paymentDate , model) ;
final double volatility = volatilitySurface.getValue ( model, fixingDate, effektiveStrike, quotingConvention ) ;
} double effektiveStrike = strike; if(isStrikeMoneyness) { effektiveStrike += getATMForward(model, true); } final VolatilitySurface volatilitySurface = model.getVolatilitySurface(volatiltiySufaceName); <extra_id_0> lowerBound = Math.min(volatility, lowerBound); upperBound = Math.max(volatility, upperBound); } final double value = getValueAsPrice(evaluationTime, model); final int maxIterations = 100; final double maxAccuracy = 0.0;