diff --git a/libsharp/sharp_geomhelpers.c b/libsharp/sharp_geomhelpers.c index 7ecdd85..b1d0142 100644 --- a/libsharp/sharp_geomhelpers.c +++ b/libsharp/sharp_geomhelpers.c @@ -158,21 +158,6 @@ static void gauss_legendre_tbl(int n, double* x, double* w) } } -static void makeweights (int bw, double *weights) - { - const double pi = 3.141592653589793238462643383279502884197; - const double fudge = pi/(4*bw); - for (int j=0; j<2*bw; ++j) - { - double tmpsum = 0; - for (int k=0; k0)&&(j