/src/main/java/net/finmath/montecarlo/hybridassetinterestrate/HybridAssetLIBORModelMonteCarloSimulationFromModels.java
final double deterministicNumeraireAdjustment = numeraire.invert( ).getAverage( ) / discountCurve.getDiscountFactor( deterministicNumeraireAdjustment) ;
final double deterministicNumeraireAdjustment = numeraire.invert ( ) .getAverage ( ) / discountCurve.getDiscountFactor ( time ) ;
return liborSimulation.getLIBORs(timeIndex); } @Override public RandomVariable getNumeraire(final double time) throws CalculationException { RandomVariable numeraire = liborSimulation.getNumeraire(time); if(discountCurve != null) { <extra_id_0> numeraire = numeraire.mult(deterministicNumeraireAdjustment); } return numeraire; } @Override public RandomVariable getNumeraire(final int timeIndex) throws CalculationException {