/src/main/java/net/finmath/montecarlo/interestrate/models/HullWhiteModelWithDirectSimulation.java
if ( previousTimeIndex < 0) {   previousTimeIndex = ( -previousTimeIndex) - 1; }
[Delete]
return one; } final int timeIndex = process.getTimeIndex(time); if(timeIndex < 0) { int previousTimeIndex = process.getTimeIndex(time); if(previousTimeIndex < 0) { <extra_id_0> } previousTimeIndex--; final double previousTime = process.getTime(previousTimeIndex); final RandomVariable rate = getShortRate(process, previousTimeIndex); final RandomVariable integratedRate = rate.mult(time-previousTime); return getNumeraire(process, previousTime).mult(integratedRate.exp());