Hi,

I am currently getting trouble with a sum of many (a thousand) SR vectors.
As an example in sage 3.2.3 :

sage: v=vector((1, sqrt(3)/2 ))
sage: sum([v]*900)
(900, 450*sqrt(3))
sage: sum([v]*1000)
ERROR: An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line statement', (849, 0))

ERROR: An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line statement', (849, 0))

ERROR: An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line statement', (849, 0))

^C
KeyboardInterrupt



while the same thing gives a different error message in the notebook :

...

  File 
"/home/slabbe/sage/local/lib/python2.5/site-packages/sage/calculus/calculus.py",
line 5323, in _maxima_init_
    return '(%s) %s (%s)' % (ops[0]._maxima_init_(),
  File 
"/home/slabbe/sage/local/lib/python2.5/site-packages/sage/calculus/calculus.py",
line 5323, in _maxima_init_
    return '(%s) %s (%s)' % (ops[0]._maxima_init_(),
  File 
"/home/slabbe/sage/local/lib/python2.5/site-packages/sage/calculus/calculus.py",
line 5323, in _maxima_init_
    return '(%s) %s (%s)' % (ops[0]._maxima_init_(),
  File 
"/home/slabbe/sage/local/lib/python2.5/site-packages/sage/calculus/calculus.py",
line 5323, in _maxima_init_
    return '(%s) %s (%s)' % (ops[0]._maxima_init_(),
  File 
"/home/slabbe/sage/local/lib/python2.5/site-packages/sage/calculus/calculus.py",
line 5323, in _maxima_init_
    return '(%s) %s (%s)' % (ops[0]._maxima_init_(),
RuntimeError: maximum recursion depth exceeded



Is this a known bug ?


Sébastien Labbé
PhD Student in UQAM
Montréal

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to