/src/main/java/net/finmath/montecarlo/interestrate/products/SimpleSwap.java
final RandomVariable numeraire  = paymentDate.getNumeraire( model) ;
final RandomVariable numeraire  = model.getNumeraire ( paymentDate ) ;
} final RandomVariable forwardRate = model.getForwardRate(fixingDate, fixingDate, paymentDate); RandomVariable payoff = forwardRate.sub(swaprate).mult(periodLength).mult(notional[period]); if(!isPayFix) { payoff = payoff.mult(-1.0); } <extra_id_0> final RandomVariable monteCarloProbabilities = model.getMonteCarloWeights(paymentDate); payoff = payoff.div(numeraire).mult(monteCarloProbabilities); values = values.add(payoff); } final RandomVariable numeraireAtEvalTime = model.getNumeraire(evaluationTime); final RandomVariable monteCarloProbabilitiesAtEvalTime = model.getMonteCarloWeights(evaluationTime);