/src/main/java/net/finmath/marketdata2/model/curves/DiscountCurveInterpolation.java
final long remainingLibors = model.getNumberOfLibors( ) -firstLiborIndex;
final int remainingLibors = model.getNumberOfLibors ( ) -firstLiborIndex;
else { return (DiscountCurveInterface) model.getModel().getDiscountCurve(); } } public static RandomVariable[] createZeroRates(final double time, final double[] maturities, final LIBORModelMonteCarloSimulationModel model) throws CalculationException{ final int firstLiborIndex = model.getLiborPeriodDiscretization().getTimeIndexNearestGreaterOrEqual(time); <extra_id_0> RandomVariable[] forwardRates; double[] liborTimes; int indexOffset; double periodStart; double periodEnd; if(model.getLiborPeriodDiscretization().getTime(firstLiborIndex)>time) {