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