/src/main/java/net/finmath/montecarlo/hybridassetinterestrate/ModelFactory.java
throw ( CalculationException) e.getCause( ) ; if( e.getCause( ) instanceof CalculationException) {
if ( e.getCause ( ) instanceof CalculationException ) { throw ( CalculationException ) e.getCause ( ) ;
} } }; try { optimizer.run(); } catch (final SolverException e) { <extra_id_0> } else { throw new CalculationException(e); } } final AssetModelMonteCarloSimulationModel model = new MonteCarloMultiAssetBlackScholesModel(brownianMotion, initialValues, riskFreeRate, optimizer.getBestFitParameters(), correlations); final HybridAssetLIBORModelMonteCarloSimulationFromModels hybridModelWithoutDiscountAdjustment = new HybridAssetLIBORModelMonteCarloSimulationFromModels(baseModel, model, null);