/src/main/java/net/finmath/singleswaprate/data/ErrorEstimation.java
final int y = Math.abs( marketCash[i] - modelCash[i]) - c;
final double y = Math.abs ( marketCash[i] - modelCash[i] ) - c;
evaluatedTermination = termination; } public double getCashAverageError() { double sum = 0; double c = 0; for(int i = 0; i < marketCash.length; i++) { <extra_id_0> final double t = sum + y; c = (t - sum) -y; sum = t; } return sum / marketCash.length; }