[SciPy-user] freebsd inverse hyperbolic patch

Pearu Peterson pearu at scipy.org
Thu Nov 4 17:13:02 CST 2004



On Fri, 5 Nov 2004, Lee Harr wrote:

>> Btw, can you compile Numeric on freebsd? It has exactly the same issue
>> and we should copy the workaround from there.
>> 
>
> Good call... Here is the FreeBSD patch for Numeric:
>
> --- Src/umathmodule.c.orig      Sat Aug  2 01:10:09 2003
> +++ Src/umathmodule.c   Sat Aug  2 01:10:43 2003
> @@ -1,9 +1,9 @@
>
> +#include <math.h>
> #include "Python.h"
> #include "Numeric/arrayobject.h"
> #include "Numeric/ufuncobject.h"
> #include "abstract.h"
> -#include <math.h>
>
> #ifndef CHAR_BIT
> #define CHAR_BIT 8
>
>
> Doing a similar maneuver in fastumathmodule.c
> allows the module to compile and link successfully.

This patch is now applied to scipy CVS.

Thanks,
Pearu



More information about the SciPy-user mailing list