The patch doesn't apply, 1.1.1 doesn't have a Src/libnumarraymodule.c
file.


Karl Hegbloom writes:
> Package: python-numarray
> Version: 1.1.1-1
> Severity: normal
> 
> 
> A patch has been applied to CVS that should be part of the Debian
> packages of python-numarray.  For more information, please contact
> Ralf Juengling <[EMAIL PROTECTED]>, as I am filing this bug on his
> behalf.
> 
> 
> --- Src/functions.ch.orig     2003-04-24 07:21:21.000000000 -0700
> +++ Src/functions.ch  2004-12-27 09:38:37.873740033 -0800
> @@ -5,10 +5,15 @@
>    return 1.0/numarray_zero;
>  }
>  
> +static double raiseNegDivByZero(void)
> +{
> +  return -1.0/numarray_zero;
> +}
> +
>  static double num_log(double x)
>  {
>     if (x == 0.0)
> -       return raiseDivByZero();
> +       return raiseNegDivByZero();
>     else
>        return log(x);
>  }
> @@ -16,7 +21,7 @@
>  static double num_log10(double x)
>  {
>     if (x == 0.0)
> -     return raiseDivByZero();
> +     return raiseNegDivByZero();
>     else
>       return log10(x);
>  }
> 
> --- Src/libnumarraymodule.c.orig      2004-11-16 14:30:22.000000000 -0800
> +++ Src/libnumarraymodule.c   2004-12-27 09:38:37.965750571 -0800
> @@ -3539,10 +3539,15 @@
>    return 1.0/numarray_zero;
>  }
>  
> +static double raiseNegDivByZero(void)
> +{
> +  return -1.0/numarray_zero;
> +}
> +
>  static double num_log(double x)
>  {
>     if (x == 0.0)
> -       return raiseDivByZero();
> +       return raiseNegDivByZero();
>     else
>        return log(x);
>  }
> @@ -3550,7 +3555,7 @@
>  static double num_log10(double x)
>  {
>     if (x == 0.0)
> -     return raiseDivByZero();
> +     return raiseNegDivByZero();
>     else
>       return log10(x);
>  }
> 
> 
> -- System Information:
> Debian Release: 3.1
> Architecture: amd64 (x86_64)
> Kernel: Linux 2.6.9-9-amd64-k8-smp
> Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
> 
> Versions of packages python-numarray depends on:
> ii  python                        2.3.4-5    An interactive high-level 
> object-o
> ii  python2.3-numarray            1.1.1-1    An array processing package 
> modell
> 
> -- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to