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