#14218: height and canonical height for projective points and morphisms
-------------------------------------------------+-------------------------
       Reporter:  bhutz                          |        Owner:  bhutz
           Type:  enhancement                    |       Status:
       Priority:  major                          |  needs_work
      Component:  algebraic geometry             |    Milestone:  sage-5.13
       Keywords:  height, canonical,             |   Resolution:
  projective, dynamics                           |    Merged in:
        Authors:  Ben Hutz                       |    Reviewers:  Joao
Report Upstream:  N/A                            |  Alberto de Faria
         Branch:                                 |  Work issues:
   Dependencies:                                 |       Commit:
                                                 |     Stopgaps:
-------------------------------------------------+-------------------------
Changes (by atowsley):

 * status:  needs_review => needs_work


Comment:

 When computing the height of the constant 0 in a function field
 global_height gives and error. Every other constant seems fine.

 R.<x> = PolynomialRing(QQ)
 A.<x> = AffineSpace(QQ,1)
 H=Hom(A,A)
 f=H([0])
 f.global_height()

 returns
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "_sage_input_100.py", line 10, in <module>
     exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8
 -*-\\n" +
 
_support_.preparse_worksheet_cell(base64.b64decode("Ui48eD4gPSBQb2x5bm9taWFsUmluZyhRUSkKQS48eD4gPSBBZmZpbmVTcGFjZShRUSwxKQpIPUhvbShBLEEpCmY9SChbMF0pCmYuZ2xvYmFsX2hlaWdodCgp"),globals())+"\\n");
 execfile(os.path.abspath("___code___.py"))
   File "", line 1, in <module>

   File "/tmp/tmpYiF_cn/___code___.py", line 7, in <module>
     exec compile(u'f.global_height()
   File "", line 1, in <module>

   File "/home/atowsley/sage-5.12.rc0/local/lib/python2.7/site-
 packages/sage/schemes/affine/affine_morphism.py", line 542, in
 global_height
     h=max([c.global_height(prec) for c in C])
 ValueError: max() arg is an empty sequence

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