#17740: Division of modules by basering elements should not pass to the fraction
field.
-------------------------------------+-------------------------------------
       Reporter:  robertwb           |        Owner:
           Type:  defect             |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.5
      Component:  coercion           |   Resolution:
       Keywords:                     |    Merged in:
        Authors:                     |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/vdelecroix/17440                 |  96c1a0348964c4edbd42f3fc52e93b9e76f26156
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by vdelecroix):

 Replying to [comment:11 vdelecroix]:
 > And something is broken:
 > {{{
 > sage -t schemes/toric/divisor.py
 > }}}

 The problematic line is `module_action = type(self)(K, self.codomain())`
 in `coerce_action.pyx`
 {{{
 sage: dP6 = toric_varieties.dP6()
 sage: Dx,Du,Dy,Dv,Dz,Dw = dP6.toric_divisor_group().gens()
 sage: A = RightModuleAction(ZZ, Dx.parent())
 sage: ~A
 Traceback (most recent call last):
 ...
     472             print "self.codomain = {}".format(self.codomain())
 --> 473             module_action = type(self)(K, self.codomain())
     474             connecting = K.coerce_map_from(self.G)
 ...
 CoercionException: No common base
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/17740#comment:12>
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