/src/main/java/net/finmath/montecarlo/interestrate/models/HullWhiteModelWithShiftExtension.java
} numerairesProcess = process;numeraires.clear( ) ;
numeraires.clear ( ) ; numerairesProcess = process; }
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()); } if(process != numerairesProcess) { <extra_id_0> RandomVariable numeraire = numeraires.get(timeIndex); if(numeraire == null) { final RandomVariable zero = process.getStochasticDriver().getRandomVariableForConstant(0.0); RandomVariable integratedRate = zero; for(int i=0; i<timeIndex; i++) { final RandomVariable rate = getShortRate(process, i);