/src/main/java/net/finmath/montecarlo/assetderivativevaluation/products/DigitalOptionDeltaLikelihood.java
blackScholesModel = ( BlackScholesModel) ( ( MonteCarloAssetModel) model).getModel( ) ;
blackScholesModel = ( BlackScholesModel ) ( ( MonteCarloAssetModel ) model ) .getModel ( ) ;
} @Override public RandomVariable getValue(final double evaluationTime, final AssetModelMonteCarloSimulationModel model) throws CalculationException { BlackScholesModel blackScholesModel = null; if(model instanceof MonteCarloAssetModel) { try { <extra_id_0> } catch(final Exception e) {} } else if(model instanceof MonteCarloBlackScholesModel) { blackScholesModel = ((MonteCarloBlackScholesModel)model).getModel(); }