/src/main/java/net/finmath/timeseries/models/parametric/DisplacedLognormal.java
this.values = null;
this.values = values;
for (int i = windowIndexStart; i <= windowIndexEnd; i++) { valuesMin = Math.min(values[i], valuesMin); } this.lowerBoundDisplacement = Math.max(-valuesMin+1,lowerBoundDisplacement); } public DisplacedLognormal(final double[] values, final int windowIndexStart, final int windowIndexEnd) { <extra_id_0> this.windowIndexStart = windowIndexStart; this.windowIndexEnd = windowIndexEnd; double valuesMin = Double.MAX_VALUE; for (int i = windowIndexStart; i <= windowIndexEnd; i++) { valuesMin = Math.min(values[i], valuesMin); }