/src/main/java/net/finmath/singleswaprate/data/ErrorEstimation.java
evaluateTenor( moneyness, termination, model) ;
evaluateTenor ( maturity, termination, model ) ;
max = Math.max(max, Math.abs(marketCashTenor[i] - modelCashTenor[i])); } return max; } public double getCashAverageErrorPercent(final int maturity, final int termination, final VolatilityCubeModel model) { if( (maturity != evaluatedMaturity) || (termination != evaluatedTermination) ) { <extra_id_0> } double sum = 0; double c = 0; for(int i = 0; i < marketCashTenor.length; i++) { final double y = Math.abs(modelCashTenor[i] / marketCashTenor[i] - 1) - c; final double t = sum + y;