Karim BELABAS on Mon, 29 Apr 2002 11:40:25 +0200 (MEST)


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

Re: GP: erfc() core dump


On Sun, 28 Apr 2002, Michael Somos wrote:
> Pari Developers,
>      Using the up-to-the-minute CVS I find :
[...]
> ? erf(x)=1-erfc(x)
> ? erfc(x)
>   ***   forbidden assignment t_POL --> t_REAL.

This is the expected behaviour ( message could be more user friendly, like
"sorry, erfc for power series is not yet implemented" )

> ? erf(x)
> Segmentation fault (core dumped)

This is bad. There was some faulty logic in gaffect(t_POL, scalar), leading
to an infinite recursion when the polynomial variable was bound to a
polynomial in itself.

It now gives the same error message as above.

    Karim.
-- 
Karim Belabas                    Tel: (+33) (0)1 69 15 57 48
Dép. de Mathematiques, Bat. 425  Fax: (+33) (0)1 69 15 60 19
Université Paris-Sud             Email: Karim.Belabas@math.u-psud.fr
F-91405 Orsay (France)           http://www.math.u-psud.fr/~belabas
--
PARI/GP Home Page: http://www.parigp-home.de/