diff options
author | Alberto Ruiz <aruiz@um.es> | 2014-05-06 09:43:39 +0200 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2014-05-06 09:43:39 +0200 |
commit | 8ecec15cee88462e46ec9d0ce361224c0fcdba31 (patch) | |
tree | 02d521e954ccdab7f023432ba229054e59785ea5 /lib/Numeric/GSL/gsl-aux.c | |
parent | c9914d694d3b86ece46fa0c76e0466c6cd394d14 (diff) |
fix C warnings
Diffstat (limited to 'lib/Numeric/GSL/gsl-aux.c')
-rw-r--r-- | lib/Numeric/GSL/gsl-aux.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Numeric/GSL/gsl-aux.c b/lib/Numeric/GSL/gsl-aux.c index 1a4a3e6..410d157 100644 --- a/lib/Numeric/GSL/gsl-aux.c +++ b/lib/Numeric/GSL/gsl-aux.c | |||
@@ -810,7 +810,9 @@ int integrate_cquad(double f(double,void*), double a, double b, double aprec, do | |||
810 | gsl_function F; | 810 | gsl_function F; |
811 | F.function = f; | 811 | F.function = f; |
812 | F.params = NULL; | 812 | F.params = NULL; |
813 | int res = gsl_integration_cquad (&F, a, b, aprec, prec, wk, result, error, neval); | 813 | size_t * sneval = NULL; |
814 | int res = gsl_integration_cquad (&F, a, b, aprec, prec, wk, result, error, sneval); | ||
815 | *neval = *sneval; | ||
814 | CHECK(res,res); | 816 | CHECK(res,res); |
815 | gsl_integration_cquad_workspace_free (wk); | 817 | gsl_integration_cquad_workspace_free (wk); |
816 | OK | 818 | OK |