Hi all,

I've reported two bugs in solve on trac, seemingly due to bugs in our interface with Maxima.

1. Ticket #20755 <http://trac.sagemath.org/ticket/20755>: the bug
   implies wrong answers when invoking roots on symbolic expressions:

   sage: w = x^4  -  (1+3*i)*x^3  -  (2-4*i)*x^2  +  (6-2*i)*x-  4  -  4*i
   sage: len(w.roots()) # incorrect
   2
   sage: len(w.roots(ring=QQbar)) # correct
   4

2. Ticket #20346 <http://trac.sagemath.org/ticket/20436>: the bug
   implies a TypeErrorwhen invoking solve with option "to_poly_solve":

   sage:  p=  x^10  -  10*x^8  +  35*x^6  +  x^5  -  50*x^4  -  5*x^3  +  
25*x^2  +  5*x-  1
   sage:  p.solve(x,  to_poly_solve=True)
   Traceback(most recent call last):
   ...
   TypeError:  'sage.symbolic.expression.Expression'  object  doesnot  support 
indexing

In the tickets, I described as precisely as I can the origin of the bugs. Yet I do not understand the interface well enough to fix them. If somebody with a better understanding than me can have a look, it would be great!

Thanks,
Bruno

--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to