Ilya Zakharevich on Mon, 15 May 2000 14:11:30 -0400


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

Re: problem with polredabs and temporary variables


On Sun, May 14, 2000 at 06:07:33PM -0700, Carl R. Witty wrote:
> I ran across a problem using polredabs and temporary variables.  The
> polredabs0 function (actually the nilord function, which is called
> indirectly by polredabs0) creates a new temporary variable and assumes
> that it is lower priority than the variable of the input polynomial.
> Ordinarily this works fine, but it fails if you're using the library
> interface and call the function with your own temporary-variable
> polynomial.
> 
> It's probably not worth fixing this problem...it looks like that would
> be a major rewrite.  Is it worth adding a warning about this type of
> problem to the "temporary variables" section of the manual?

Why not reserve 3 or 4 topmost variables for this usage?

Ilya