/src/main/java/net/finmath/singleswaprate/data/ErrorEstimation.java
marketCash = marketCashPayer.stream( ).mapToDouble( Double::doubleValue).toArray( ) ;modelPhysical = modelPhysicalList.stream( ).mapToDouble( Double::doubleValue).toArray( ) ;
modelPhysical = modelPhysicalList.stream ( ) .mapToDouble ( Double::doubleValue ) .toArray ( ) ;
modelCashReceiver.add(receiver.getValue(optionMaturity, model)); } } } } marketPhysical = marketPhysicalList.stream().mapToDouble(Double::doubleValue).toArray(); <extra_id_0> marketCashPayer.addAll(marketCashReceiver); modelCashPayer.addAll(modelCashReceiver); marketCash = marketCashPayer.stream().mapToDouble(Double::doubleValue).toArray(); modelCash = modelCashPayer.stream().mapToDouble(Double::doubleValue).toArray(); } private void evaluateTenor(final int maturity, final int termination, final VolatilityCubeModel model) {