/src/main/java/net/finmath/equities/models/Black76Model.java
final double d2Lower = 0.5 * sigmaLower;final double d1Upper = x / sigmaUpper;
final double d1Upper = x / sigmaUpper;
final double sigmaLower = sigmaCentral - bCentral / bPrimeCentral; final double d1Lower = x / sigmaLower; final double d2Lower = 0.5 * sigmaLower; final double bLower = NormalDistribution.cumulativeDistribution(d1Lower + d2Lower) * bMax - NormalDistribution.cumulativeDistribution(d1Lower - d2Lower) / bMax; final double sigmaUpper = sigmaCentral + (bMax - bCentral) / bPrimeCentral; <extra_id_0> final double d2Upper = 0.5 * sigmaUpper; final double bUpper = NormalDistribution.cumulativeDistribution(d1Upper + d2Upper) * bMax - NormalDistribution.cumulativeDistribution(d1Upper - d2Upper) / bMax; double impliedSdev; if (beta < bLower) {