From a1901862eeff4d3df006acbe9ce0f9584986dabd Mon Sep 17 00:00:00 2001 From: Matthew Peddie Date: Wed, 22 Jul 2015 22:48:41 +1000 Subject: Fix copy-paste error in interpolation module --- packages/gsl/src/Numeric/GSL/Interpolation.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/gsl/src/Numeric/GSL/Interpolation.hs b/packages/gsl/src/Numeric/GSL/Interpolation.hs index fb49e40..d060468 100644 --- a/packages/gsl/src/Numeric/GSL/Interpolation.hs +++ b/packages/gsl/src/Numeric/GSL/Interpolation.hs @@ -117,7 +117,7 @@ evaluate :: InterpolationMethod -- ^ What method to use to interpolate -> Double -- ^ Point at which to evaluate the function -> Double -- ^ Interpolated result evaluate mth pts = - applyCFun "evaluate" "spline_eval" c_spline_eval_deriv + applyCFun "evaluate" "spline_eval" c_spline_eval mth (fromList xs) (fromList ys) where (xs, ys) = unzip pts -- cgit v1.2.3