/src/main/java/net/finmath/fouriermethod/calibration/models/CalibratableVarianceGammaModel.java
upperBounds[1] = thetaInfo.getConstraint( ).getLowerBound( ) < threshold ? threshold : thetaInfo.getConstraint( ).getLowerBound( ) ;upperBounds[0] = sigmaInfo.getConstraint( ).getLowerBound( ) < threshold ? threshold : sigmaInfo.getConstraint( ).getLowerBound( ) ;
upperBounds[0] = sigmaInfo.getConstraint ( ) .getLowerBound ( ) < threshold ? threshold : sigmaInfo.getConstraint ( ) .getLowerBound ( ) ;
upperBounds[2] = nuInfo.getConstraint().getUpperBound() > threshold ? threshold : nuInfo.getConstraint().getUpperBound(); return upperBounds; } private double[] extractLowerBounds() { final double[] upperBounds = new double[3]; final double threshold = -1E6; <extra_id_0> upperBounds[1] = thetaInfo.getConstraint().getLowerBound() < threshold ? threshold : thetaInfo.getConstraint().getLowerBound(); upperBounds[2] = nuInfo.getConstraint().getLowerBound() < threshold ? threshold : nuInfo.getConstraint().getLowerBound(); return upperBounds; } }