#20330: hyperbolic_geodesic midpoint bugfix
-------------------------------------+-------------------------------------
       Reporter:  jhonrubia6         |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-7.2
      Component:  geometry           |   Resolution:
       Keywords:  hyperbolic         |    Merged in:
  geometry, geodesic                 |    Reviewers:
        Authors:  Javier Honrubia    |  Work issues:
  González                           |       Commit:
Report Upstream:  N/A                |  89500eb900f245d091afcc4461f4d8f19f6db5b9
         Branch:                     |     Stopgaps:
  u/jhonrubia6/hyperbolic_geodesic_midpoint_bugfix|
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by vdelecroix):

 Hello,

 Why in all this code the type of number is not preserved
 {{{
 sage: g = HyperbolicPlane().UHP().get_geodesic(CC(0,2),CC(1,2))
 sage: type(g.endpoints()[0].coordinates())
 <type 'sage.rings.complex_number.ComplexNumber'>
 sage: type(g.midpoint().coordinates())
 <type 'sage.symbolic.expression.Expression'>
 }}}
 If I am using floating point number it is likely that I want to do
 floating point computations.

--
Ticket URL: <http://trac.sagemath.org/ticket/20330#comment:10>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to