#15303: Coercion discovery fails to be transitive
-------------------------------------+-------------------------------------
       Reporter:  nbruin             |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.0
      Component:  coercion           |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Simon King         |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/SimonKing/ticket/15303           |  528a03535447d67f04dc16d0a22cc38def54f9f1
   Dependencies:  #14711, #15329,    |     Stopgaps:
  #15331                             |
-------------------------------------+-------------------------------------

Comment (by SimonKing):

 Oooops, what is that?
 {{{
 sage -t src/sage/schemes/projective/projective_morphism.py
 **********************************************************************
 File "src/sage/schemes/projective/projective_morphism.py", line 1326, in
 
sage.schemes.projective.projective_morphism.SchemeMorphism_polynomial_projective_space.canonical_height
 Failed example:
     f.canonical_height(Q,badprimes=[2])
 Expected:
     0.0013538030870311431824555314882
 Got:
     verbose 0 (3533: multi_polynomial_ideal.py, groebner_basis) Warning:
 falling back to very slow toy implementation.
     verbose 0 (3533: multi_polynomial_ideal.py, groebner_basis) Warning:
 falling back to very slow toy implementation.
     0.0013538030870311431824555314882
 **********************************************************************
 1 item had failures:
    1 of  16 in
 
sage.schemes.projective.projective_morphism.SchemeMorphism_polynomial_projective_space.canonical_height
     [481 tests, 1 failure, 8.40 s]
 ----------------------------------------------------------------------
 sage -t src/sage/schemes/projective/projective_morphism.py  # 1 doctest
 failed
 ----------------------------------------------------------------------
 Total time for all tests: 8.6 seconds
     cpu time: 7.7 seconds
     cumulative wall time: 8.4 seconds
 }}}
 So, why is the slow toy implementation being used when coercion is
 changed?

--
Ticket URL: <http://trac.sagemath.org/ticket/15303#comment:122>
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/groups/opt_out.

Reply via email to