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