[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gsl] IBM xlc compile fix for gsl-1.6

From: Julian Seward
Subject: [Bug-gsl] IBM xlc compile fix for gsl-1.6
Date: Sun, 24 Jul 2005 08:26:06 +0100
User-agent: KMail/1.8.1

I don't know if this has already been reported, but: xlc-7.0.1 
won't compile wavelet/dwt.c because as it rightly points out the
prototype for dwt_step does not agree with the actual definition
(int vs enum mismatch).  The attached patch fixes it.


--- wavelet/dwt.c~      2004-12-24 14:57:34.000000000 +0100
+++ wavelet/dwt.c       2005-07-08 23:31:32.000000000 +0200
@@ -30,7 +30,7 @@

 static int binary_logn (const size_t n);
 static void dwt_step (const gsl_wavelet * w, double *a, size_t stride,
-                      size_t n, int isign, gsl_wavelet_workspace * work);
+                      size_t n, gsl_wavelet_direction dir, 
gsl_wavelet_workspace * work);

 static int
 binary_logn (const size_t n)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]