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