/src/main/java/net/finmath/montecarlo/products/PortfolioMonteCarloProduct.java
} return product.getValue( evaluationTime, model).mult( weight) ;
return product.getValue ( evaluationTime, model ) .mult ( weight ) ; }
for(int i=0; i<products.length; i++) { final MonteCarloProduct product = products[i]; final double weight = weights[i]; final Callable<RandomVariable> worker = new Callable<RandomVariable>() { @Override public RandomVariable call() throws CalculationException { <extra_id_0> }; values.add(i, executor.submit(worker)); } value = values.get(0).get(); for(int i=1; i<products.length; i++) { value = value.add(values.get(i).get());