/src/main/java/net/finmath/equities/models/SviVolatilitySmile.java
final var wMin = totalVariances.get ( minIndex ) ; double w, dwdk;
final var sigma = m * Math.sqrt(1 - rho * rho) / rho; final var a = w - b * sigma * Math.sqrt(1 - rho * rho); return new double[] {a, b, rho, m, sigma}; } else { <extra_id_0> if (logStrikes.contains(0.0)) { final var atmIndex = logStrikes.indexOf(0.0); w = totalVariances.get(atmIndex); dwdk = 0.5 * ((totalVariances.get(atmIndex + 1) - w) / (logStrikes.get(atmIndex + 1)) + (totalVariances.get(atmIndex - 1) - w) / (logStrikes.get(atmIndex - 1)));