/src/main/java/net/finmath/montecarlo/assetderivativevaluation/products/ForwardAgreement.java
values = values.div( numeraireAtMaturity).mult( monteCarloWeights) ;values = values.mult( numeraireAtEvalTime).div( monteCarloProbabilitiesAtEvalTime) ;
values = values.mult ( numeraireAtEvalTime ) .div ( monteCarloProbabilitiesAtEvalTime ) ;
RandomVariable values = underlyingAtMaturity.sub(forwardValue); final RandomVariable numeraireAtMaturity = model.getNumeraire(maturity); final RandomVariable monteCarloWeights = model.getMonteCarloWeights(maturity); values = values.div(numeraireAtMaturity).mult(monteCarloWeights); final RandomVariable numeraireAtEvalTime = model.getNumeraire(evaluationTime); final RandomVariable monteCarloProbabilitiesAtEvalTime = model.getMonteCarloWeights(evaluationTime); <extra_id_0> return values; } @Override public Map<String, Object> getValues(final double evaluationTime, final Model model) { final Map<String, Object> result = new HashMap<>(); try {