constantp([]) --> true and polynomialp([], [x]) --> true
Subject: constantp([]) --> true and polynomialp([], [x]) --> true
From: Robert Dodier
Date: Thu, 22 Aug 2013 23:33:21 +0000 (UTC)
On 2013-08-22, Barton Willis <willisb at unk.edu> wrote:
> Oh, I was goofing around with code that needs to decide when it would
> be OK to dispatch Grobner code. I thought using the defaults for
> polynomialp would be OK---oops, they aren't. Well actually for the
> Grobner code I need rational coefficients, not just simply numeric
> coefficients. No particular problem, but it took a bit of testing
> before I found this bug.
Well, I don't have any strong feelings about polynomialp -- if the
current behavior seems like a bug, I'm not opposed to changing it.
best
Robert Dodier