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