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