# HG changeset patch
# User Burcin Erocal <burcin@erocal.org>
# Date 1284020458 7200
# Node ID c00d0700e7ac40764acecd68ac00cc8543e370a9
# Parent 076f0585ee952f6c8aaf845ee4a9bda7e6d6608f
#9878: pynac now returns unsigned infinity for zeta(1). Change doctests accordingly.
diff git a/sage/functions/transcendental.py b/sage/functions/transcendental.py
a

b


139  139  sage: a = loads(dumps(zeta(x))) 
140  140  sage: a.operator() == zeta 
141  141  True 
 142  
 143  sage: zeta(1) 
 144  Infinity 
 145  sage: zeta(x).subs(x=1) 
 146  Infinity 
142  147  """ 
143  148  GinacFunction.__init__(self, "zeta") 
144  149  
diff git a/sage/symbolic/expression.pyx b/sage/symbolic/expression.pyx
a

b


5281  5281  TESTS:: 
5282  5282  
5283  5283  sage: t = SR(1).zeta(); t 
5284   zeta(1) 
5285   sage: t.n() 
5286   +infinity 
 5284  Infinity 
5287  5285  """ 
5288  5286  _sig_on 
5289  5287  cdef GEx x = g_zeta(self._gobj) 