/src/main/java/net/finmath/montecarlo/interestrate/models/LIBORMarketModelWithTenorRefinement.java
if( periodStartIndex < 0L) {
if ( periodStartIndex < 0 ) {
private double getWeightForTenorRefinement(final double periodStartPrevious, final double periodEndPrevious, final double periodStart, final double periodEnd) { final TimeDiscretization numeriareDiscretization = liborPeriodDiscretizations[0]; final int periodStartPreviousIndex = numeriareDiscretization.getTimeIndex(periodStartPrevious); final int periodEndPreviousIndex = numeriareDiscretization.getTimeIndex(periodEndPrevious); int periodStartIndex = numeriareDiscretization.getTimeIndex(periodStart); int periodEndIndex = numeriareDiscretization.getTimeIndex(periodEnd); <extra_id_0> periodStartIndex = -periodStartIndex-1; } if(periodEndIndex < 0) { periodEndIndex = -periodEndIndex-1-1; } double weight1 = 0.0;