#6989: line3d can modify its argument type
----------------------+-----------------------------------------------------
 Reporter:  mhampton  |       Owner:  was       
     Type:  defect    |      Status:  new       
 Priority:  major     |   Milestone:  sage-4.1.2
Component:  graphics  |    Keywords:            
 Reviewer:            |      Author:            
   Merged:            |  
----------------------+-----------------------------------------------------
 This issue could well arise in other plotting code, I haven't checked yet.
 But at least for line3d:

 {{{
 sage: mypoints = [vector([1,2,3]), vector([4,5,6])]
 sage: type(mypoints[0])
 <type 'sage.modules.vector_integer_dense.Vector_integer_dense'>
 }}}
 but then:
 {{{
 sage: L = line3d(mypoints)
 sage: type(mypoints[0])
 <type 'tuple'>
 }}}

 so vectors are changed to tuples.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6989>
Sage <http://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