#16453: Cythonize quiver paths
-------------------------------------+-------------------------------------
       Reporter:  SimonKing          |        Owner:
           Type:  enhancement        |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.4
      Component:  algebra            |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Simon King         |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/SimonKing/cythonize_quiver_paths |  f60c7c1e2dafa1930ef23319d8d3917003ad7c9a
   Dependencies:  #15820             |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by nthiery):

 Replying to [comment:27 SimonKing]:
 > My counting formula is wrong, but in addition to that there seems to be
 a problem with quotient fields of rational polynomial rings. This shall be
 tracked in a different ticket, of course:
 > {{{
 > sage: P.<t> = QQ[]
 > sage: p = 4/(-4*t)
 > sage: p   # OK, fractions are not automatically reduced
 > 4/(-4*t)
 > sage: p.reduce()
 > sage: p   # What the heck...
 > 4/(-4*t)
 > sage: p == -1/t   # At least sage gets this right
 > True
 > }}}

 It's not completely unreasonable: in a field, the gcd of two elements can
 be arguably always set to 1. This is not what Sage does, but that's
 presumably Singular's choice.
 {{{
     sage: gcd(4/1, 4/1)
     4
 }}}

 I don't know if it helps, but if you do the same calculation over ZZ, you
 get the desired result.

--
Ticket URL: <http://trac.sagemath.org/ticket/16453#comment:28>
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 http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to