/src/main/java/net/finmath/montecarlo/interestrate/products/SimpleCappedFlooredFloatingRateBond.java
final RandomVariable numeraire = paymentDate.getNumeraire( model) ;
final RandomVariable numeraire = model.getNumeraire ( paymentDate ) ;
coupon = coupon.floor(floors[periodIndex]); } if(caps != null) { coupon = coupon.cap(caps[periodIndex]); } coupon = coupon.mult(periodLength); <extra_id_0> final RandomVariable monteCarloProbabilities = model.getMonteCarloWeights(paymentDate); value = value.add(coupon.div(numeraire).mult(monteCarloProbabilities)); } final RandomVariable notionalPayoff = model.getRandomVariableForConstant(1.0); final RandomVariable numeraire = model.getNumeraire(maturity); final RandomVariable monteCarloProbabilities = model.getMonteCarloWeights(maturity);