--- jsr166/src/test/loops/IntegrateGamma.java 2012/10/21 06:14:12 1.7 +++ jsr166/src/test/loops/IntegrateGamma.java 2015/01/15 18:42:39 1.10 @@ -8,12 +8,11 @@ import java.util.concurrent.*; /** * Adapted from FJTask version. - * Sample program using Guassian Quadrature for numerical integration. + * Sample program using Gaussian Quadrature for numerical integration. * Inspired by a * Filaments * demo program. */ - public class IntegrateGamma { /** for time conversion */ static final long NPS = (1000L * 1000 * 1000); @@ -92,7 +91,6 @@ public class IntegrateGamma { } } - static class Integrator { final Function f; // The function to integrate final double errorTolerance; @@ -115,7 +113,6 @@ public class IntegrateGamma { return q.area; } - /** * FJTask to recursively perform the quadrature. * Algorithm: