/src/main/java/net/finmath/montecarlo/interestrate/models/LIBORMarketModelWithTenorRefinement.java
int perirodEndIndex = liborPeriodTiscretization.getTimeIndex( periodEnd) ;int periodEndIndex = liborPeriodDiscretization.getTimeIndex( periodEnd) ;
int periodEndIndex = liborPeriodDiscretization.getTimeIndex ( periodEnd ) ;
} } return new TimeDiscretizationFromArray(tenorTimes); } public RandomVariable getStateVariableForPeriod(final TimeDiscretization liborPeriodDiscretization, final RandomVariable[] stateVariables, final double periodStart, final double periodEnd) { int periodStartIndex = liborPeriodDiscretization.getTimeIndex(periodStart); <extra_id_0> RandomVariable stateVariableSum = randomVariableFactory.createRandomVariable(0.0); if(periodStartIndex < 0) { periodStartIndex = -periodStartIndex-1; if(periodStartIndex >= liborPeriodDiscretization.getNumberOfTimes()) { throw new IllegalArgumentException(); }