#11352: is_polynomial returns wrong results
-------------------------+--------------------------------------------------
   Reporter:  hivert     |          Owner:  burcin                              
         
       Type:  defect     |         Status:  needs_review                        
         
   Priority:  major      |      Milestone:  sage-5.0                            
         
  Component:  symbolics  |       Keywords:  is_polynomial                       
         
Work_issues:             |       Upstream:  Fixed upstream, in a later stable 
release.   
   Reviewer:             |         Author:  Richard Kreckel, Jens Vollinga, 
Burcin Erocal
     Merged:             |   Dependencies:  #11415                              
         
-------------------------+--------------------------------------------------
Changes (by newvalueoldvalue):

  * status:  needs_info => needs_review
  * milestone:  sage-4.7.1 => sage-5.0
  * dependencies:  => #11415
  * author:  => Richard Kreckel, Jens Vollinga, Burcin Erocal


Old description:

> {{{
> sage: el = -1/2*(2*x^2 - sqrt(2*x - 1)*sqrt(2*x + 1) - 1)
> sage: el.is_polynomial(x)
> True
> }}}
> I definitely prefer to get {{{False}}}.

New description:

 {{{
 sage: el = -1/2*(2*x^2 - sqrt(2*x - 1)*sqrt(2*x + 1) - 1)
 sage: el.is_polynomial(x)
 True
 }}}
 I definitely prefer to get {{{False}}}.

 Apply trac_11352-is_polynomial.patch.

--

Comment:

 New pynac package which includes the patch for this is at #11415.

 attachment:trac_11352-is_polynomial.patch adds doctests.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11352#comment:15>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to