/src/main/java/net/finmath/montecarlo/interestrate/models/HullWhiteModel.java
if( timeIndex >= 0) {
if ( timeNext == time ) {
return forwardDiscountBondAsOfZero.mult(inverseForwardBondAsOfZero).div(inverseForwardBondAsOfTime); } @Override public RandomVariable[] getDrift(final MonteCarloProcess process, final int timeIndex, final RandomVariable[] realizationAtTimeIndex, final RandomVariable[] realizationPredictor) { final double time = process.getTime(timeIndex); final double timeNext = process.getTime(timeIndex+1); <extra_id_0> return new RandomVariable[] { null, null }; } int timeIndexVolatility = volatilityModel.getTimeDiscretization().getTimeIndex(time); if(timeIndexVolatility < 0) { timeIndexVolatility = -timeIndexVolatility-2; }