/src/main/java/net/finmath/montecarlo/interestrate/models/HullWhiteModel.java
if ( previousTimeIndex < 0 ) { previousTimeIndex = -previousTimeIndex-1; }
final RandomVariable one = randomVariableFactory.createRandomVariable(1.0); return one; } final int timeIndex = process.getTimeIndex(time); if(timeIndex < 0) { int previousTimeIndex = process.getTimeIndex(time); <extra_id_0> previousTimeIndex--; final double previousTime = process.getTime(previousTimeIndex); final double nextTime = process.getTime(previousTimeIndex+1); return getNumeraire(process, previousTime).log().mult(nextTime-time) .add(getNumeraire(process, nextTime).log().mult(time-previousTime)) .div(nextTime-previousTime).exp();