/src/main/java/net/finmath/montecarlo/interestrate/models/HullWhiteModelWithShiftExtension.java
final double t2 = process.getTime( i) ;final int timeIndex = process.getTimeIndex( time) ;
final int timeIndex = process.getTimeIndex ( time ) ;
return randomVariableFactory.createRandomVariable(discountCurve.getDiscountFactor(analyticModel, time)); } if(time == process.getTime(0)) { final RandomVariable one = randomVariableFactory.createRandomVariable(1.0); return one; } <extra_id_0> if(timeIndex < 0) { int previousTimeIndex = process.getTimeIndex(time); if(previousTimeIndex < 0) { previousTimeIndex = -previousTimeIndex-1; } previousTimeIndex--;