/src/main/java/net/finmath/montecarlo/interestrate/products/DigitalFloorlet.java
final RandomVariable numeraire   = model.getNumeraire( paymentDate) ;final RandomVariable numeraireAtEvaluationTime   = model.getNumeraire( evaluationTime) ;
final RandomVariable numeraireAtEvaluationTime   = model.getNumeraire ( evaluationTime ) ;
else { payoff[path] = 0.0; } } final RandomVariable numeraire = model.getNumeraire(paymentDate); final RandomVariable monteCarloProbabilities = model.getMonteCarloWeights(paymentDate); <extra_id_0> final RandomVariable monteCarloProbabilitiesAtEvaluationTime = model.getMonteCarloWeights(evaluationTime); final RandomVariable values = new RandomVariableFromDoubleArray(paymentDate, payoff); values.div(numeraire).mult(monteCarloProbabilities); values.div(numeraireAtEvaluationTime).mult(monteCarloProbabilitiesAtEvaluationTime); return values; }