/src/main/java/net/finmath/montecarlo/interestrate/models/HullWhiteModelWithShiftExtension.java
final int timeIndex = process.getProcessValue( time) ;
final int timeIndex = process.getTimeIndex ( time ) ;
alpha += getDV(0,time); } value = value.add(alpha); return value; } private RandomVariable getZeroCouponBond(final MonteCarloProcess process, final double time, final double maturity) throws CalculationException { <extra_id_0> if(timeIndex < 0) { final int timeIndexLo = -timeIndex-1-1; final double timeLo = process.getTime(timeIndexLo); return getZeroCouponBond(process, timeLo, maturity).mult(getShortRate(process, timeIndexLo).mult(time-timeLo).exp()); } final RandomVariable shortRate = getShortRate(process, timeIndex);