/src/main/java/net/finmath/modelling/productfactory/InterestRateMonteCarloProductFactory.java
value = value.add ( legReceiver.getValue ( evaluationTime, model ) ) ;
legPayer = (TermStructureMonteCarloProduct) factory.getProductFromDescriptor(legDescriptor); } @Override public RandomVariable getValue(final double evaluationTime, final TermStructureMonteCarloSimulationModel model) throws CalculationException { RandomVariable value = new RandomVariableFromDoubleArray(0); if(legPayer != null) { <extra_id_0> } if(legPayer != null) { value = value.sub(legPayer.getValue(evaluationTime, model)); } return value; }