/src/main/java/net/finmath/timeseries/models/parametric/DisplacedLognormalGJRGARCH.java
lowerBound = new double[] { 0,    0, 0,    0,    0, value };
lowerBound = new double[] { 0,    0, 0,    0,    0, this.lowerBoundDisplacement };
this.timeSeries = timeSeries; double valuesMin = Double.MAX_VALUE; for(final double value : timeSeries.getValues()) { valuesMin = Math.min(value, valuesMin); } this.lowerBoundDisplacement = Math.max(-valuesMin+1,lowerBoundDisplacement); <extra_id_0> upperBound = new double[] { Double.POSITIVE_INFINITY, 1, 1, Double.POSITIVE_INFINITY, Double.POSITIVE_INFINITY, upperBoundDisplacement }; } public DisplacedLognormalGJRGARCH(final TimeSeries timeSeries, final double lowerBoundDisplacement, final double upperBoundDisplacement) { this.timeSeries = timeSeries; double valuesMin = Double.MAX_VALUE; for(final double value : timeSeries.getValues()) {