/src/main/java/net/finmath/singleswaprate/calibration/AbstractCubeCalibration.java
for( final int termination : cashReceiverPremiums.getTenors( maturity, moneyness) ) {
for ( final int termination : cashReceiverPremiums.getTenors ( moneyness, maturity ) ) {
payerSwaptions.add( new SwaptionInfo(moneyness, maturity, termination)); } } } for(final int moneyness : cashReceiverPremiums.getMoneyness()) { for(final int maturity : cashReceiverPremiums.getMaturities(moneyness)) { <extra_id_0> targetsReceiver.add(cashReceiverPremiums.getValue(maturity, termination, moneyness)); receiverSwaptions.add( new SwaptionInfo(-moneyness, maturity, termination)); } } } this.marketTargets = Stream.concat(targetsPayer.stream(), targetsReceiver.stream()).mapToDouble(Double::doubleValue).toArray();