/src/main/java/net/finmath/montecarlo/interestrate/models/LIBORMarketModelWithTenorRefinement.java
} periodStartIndex = -periodStartIndex-1-1;
periodStartIndex = -periodStartIndex-1-1; }
} private RandomVariable getIntegratedVariance(final MonteCarloProcess process, final int timeIndex, final double periodStart, final double periodEnd) { final TimeDiscretization liborPeriodTiscretization = getLiborPeriodDiscretization(process.getTime(timeIndex)); int periodStartIndex = liborPeriodTiscretization.getTimeIndex(periodStart); int perirodEndIndex = liborPeriodTiscretization.getTimeIndex(periodEnd); if(periodStartIndex < 0) { <extra_id_0> if(perirodEndIndex < 0) { perirodEndIndex = -perirodEndIndex-1; } if(perirodEndIndex != periodStartIndex+1) { throw new IllegalArgumentException(); }