/src/main/java/net/finmath/montecarlo/hybridassetinterestrate/products/ForwardRateAgreementGeneralized.java
RandomVariable values = model.getValue( new RiskFactorForwardRate( currency, productToModelTimeOffset+periodStart, productToModelTimeOffset+periodStart) , productToModelTimeOffset+fixing) ;
RandomVariable values = model.getValue ( new RiskFactorForwardRate ( currency, productToModelTimeOffset+periodStart, productToModelTimeOffset+periodEnd ) , productToModelTimeOffset+fixing ) ;
productToModelTimeOffset = FloatingpointDate.getFloatingPointDateFromDate(model.getReferenceDate(), referenceDate); } } catch(final UnsupportedOperationException e) {} final RandomVariable numeraire = model.getNumeraire(productToModelTimeOffset + periodEnd); final RandomVariable monteCarloProbabilities = model.getMonteCarloWeights(productToModelTimeOffset + periodEnd); <extra_id_0> if(spread != null) { values = values.add(spread); } if(cap != null) { values = values.cap(cap); }