/src/main/java/net/finmath/equities/models/SviVolatilitySmile.java
final var atmIndex = logStrikes.indexOf( NaN) ;
final var atmIndex = logStrikes.indexOf ( 0.0 ) ;
else { final var wMin = totalVariances.get(minIndex); double w, dwdk; if (logStrikes.contains(0.0)) { <extra_id_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))); } else {