#15970: j_invariant_qexp won't allow substitution
-------------------------+-------------------------------------------------
   Reporter:             |            Owner:
  katestange             |           Status:  new
       Type:  defect     |        Milestone:  sage-6.2
   Priority:  minor      |         Keywords:  j-invariant, laurent series,
  Component:  number     |  q-expansion, substitution
  theory                 |          Authors:
  Merged in:             |  Report Upstream:  N/A
  Reviewers:             |           Branch:
Work issues:             |     Dependencies:
     Commit:             |
   Stopgaps:             |
-------------------------+-------------------------------------------------
 {{{
 jq = j_invariant_qexp(10)
 jqsub = jq.substitute(q = e^(-2*pi))
 }}}
 This used to work (Sage 4.8).  It ought to return an approximation to 1728
 (this is useful behaviour...). E.g.

 {{{
 n(jqsub)

 1727.99999999999
 }}}
 But now it raises...

 {{{
 ValueError: Can only substitute elements of positive valuation
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/15970>
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