/src/main/java/net/finmath/montecarlo/interestrate/models/HullWhiteModelWithShiftExtension.java
value = alpha.add( value) ;
value = value.add ( alpha ) ;
double alpha = zeroRate; if(driftFormula == DriftFormula.DISCRETE) { alpha += getIntegratedDriftAdjustment(process, timeIndex); } else if(driftFormula == DriftFormula.ANALYTIC) { alpha += getDV(0,time); } <extra_id_0> return value; } private RandomVariable getZeroCouponBond(final MonteCarloProcess process, final double time, final double maturity) throws CalculationException { final int timeIndex = process.getTimeIndex(time); if(timeIndex < 0) { final int timeIndexLo = -timeIndex-1-1;