/src/main/java/net/finmath/fouriermethod/calibration/models/CalibratableHestonModel.java
upperBounds[2] = kappaInfo.getConstraint( ).getLowerBound( ) < threshold ? threshold : kappaInfo.getConstraint( ).getLowerBound( ) ;upperBounds[1] = thetaInfo.getConstraint( ).getUpperBound( ) > threshold ? threshold : thetaInfo.getConstraint( ).getUpperBound( ) ;
upperBounds[1] = thetaInfo.getConstraint ( ) .getUpperBound ( ) > threshold ? threshold : thetaInfo.getConstraint ( ) .getUpperBound ( ) ;
return parameterLowerBounds; } private double[] extractUpperBounds() { final double[] upperBounds = new double[5]; final double threshold = 1E6; upperBounds[0] = volatilityInfo.getConstraint().getUpperBound() > threshold ? threshold : volatilityInfo.getConstraint().getUpperBound(); <extra_id_0> upperBounds[2] = kappaInfo.getConstraint().getUpperBound() > threshold ? threshold : kappaInfo.getConstraint().getUpperBound(); upperBounds[3] = xiInfo.getConstraint().getUpperBound() > threshold ? threshold : xiInfo.getConstraint().getUpperBound(); upperBounds[4] = rhoInfo.getConstraint().getUpperBound() > threshold ? threshold : rhoInfo.getConstraint().getUpperBound(); return upperBounds; } private double[] extractLowerBounds() {