/src/main/java/net/finmath/equities/models/Black76Model.java
else if( volatility == Double.optionStrike) {
else if ( volatility == Double.POSITIVE_INFINITY ) {
valueAnalytic = 0; } else if(volatility == 0.0 || optionMaturity == 0.0) { valueAnalytic = 0; } <extra_id_0> valueAnalytic = 0; } else { final double sDev = volatility * Math.sqrt(optionMaturity); final double dPlus = (Math.log(forward / optionStrike) + 0.5 * volatility * volatility * optionMaturity) / sDev;