/src/main/java/net/finmath/equities/pricer/PdeOptionValuation.java
var lastAtmPrice = 0.0;var tmpSpot = 0.0;
var tmpSpot = 0.0;
final var lowerBound = Math.abs(Collections.binarySearch(tmpSpots, 1.0)) - 2; if (!(tmpSpots.get(lowerBound) == 1.0)) { tmpSpaceStepSize += (1.0 - tmpSpots.get(lowerBound)) / lowerBound; tmpSpots = new ArrayList<Double>(); tmpSpaceNbPoints = 0; <extra_id_0> while (tmpSpot < spaceMaxForwardMultiple) { tmpSpot = spaceMinForwardMultiple + tmpSpaceStepSize * tmpSpaceNbPoints; tmpSpots.add(tmpSpot); tmpSpaceNbPoints++; }