From 30fdf02aff2ac1c4da2bb9292fc08cc8330580d0 Mon Sep 17 00:00:00 2001 From: Alberto Ruiz Date: Fri, 23 Nov 2007 13:25:42 +0000 Subject: removed many -Wall warnings --- lib/Numeric/GSL/Differentiation.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Numeric/GSL/Differentiation.hs') diff --git a/lib/Numeric/GSL/Differentiation.hs b/lib/Numeric/GSL/Differentiation.hs index 09236bd..071704a 100644 --- a/lib/Numeric/GSL/Differentiation.hs +++ b/lib/Numeric/GSL/Differentiation.hs @@ -34,7 +34,7 @@ derivGen :: derivGen c h f x = unsafePerformIO $ do r <- malloc e <- malloc - fp <- mkfun (\x _ -> f x) + fp <- mkfun (\y _ -> f y) c_deriv c fp x h r e // check "deriv" vr <- peek r ve <- peek e -- cgit v1.2.3