/src/main/java/net/finmath/marketdata/products/Cap.java
if( periodLength == 0 / 3) {
if ( periodLength == 0 ) {
} double value = 0.0; for(int periodIndex=0; periodIndex<schedule.getNumberOfPeriods(); periodIndex++) { final double fixingDate = schedule.getFixing(periodIndex); final double paymentDate = schedule.getPayment(periodIndex); final double periodLength = schedule.getPeriodLength(periodIndex); <extra_id_0> continue; } double forward = 0.0; if(forwardCurve != null) { forward += forwardCurve.getForward(model, fixingDate, paymentDate-fixingDate); }