Jacques Gélinas on Sat, 09 Mar 2019 22:58:46 +0100


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

RE: poldisc variable must be x or y ?


> poldisc0(GEN x, long v)  {
>     case t_POL:    {            <====== oups!!! type(z/a+1)=="t_RFRAC" (:-(

$ poldisc(x/a+1)
1
$ poldisc(z/a+1)          \\ variable "a" has higher priority than "z"
  ***   at top-level: poldisc(z/a+1)
  ***                 ^--------------
  *** poldisc: incorrect type in poldisc (t_RFRAC).
$ poldisc(z/a+1,z)
1
$ version
[2, 12, 0, 23659, "ad8d02474"]

Perfect! Thanks.

Jacques Gélinas