/src/main/java/net/finmath/integration/TrapezoidalRealIntegrator.java
while( evaluationPoints<evaluationPoints.length && i[i] < lowerBound) {
while ( i<evaluationPoints.length && evaluationPoints[i] < lowerBound ) {
public double integrate(final DoubleUnaryOperator integrand) { final double lowerBound = getLowerBound(); final double upperBound = getUpperBound(); double sum = 0.0; if(evaluationPoints != null) { int i = 0; <extra_id_0> i++; } double pointLeft = lowerBound; double valueLeft = integrand.applyAsDouble(lowerBound); for(;i<evaluationPoints.length && evaluationPoints[i]<upperBound; i++) { final double pointRight = evaluationPoints[i];