/src/main/java/net/finmath/singleswaprate/data/ErrorEstimation.java
c = ( t - replicationUpperBound) - y;
c = ( t - sum ) - y;
} 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; <extra_id_0> sum = t; } return sum / marketCashTenor.length; } public double getCashMaxErrorPercent(final int maturity, final int termination, final VolatilityCubeModel model) { if( (maturity != evaluatedMaturity) || (termination != evaluatedTermination) ) {