I tried this

import numpy
a = numpy.arange(20)
a

and got the stacktrace below. Any ideas why?

Kevin

>>> a
Exception in SymPy Live of type <type 'exceptions.ValueError'> for 
reference the last 5 stack trace entries are Traceback (most recent call 
last): File 
"/base/data/home/apps/s~sympy-live-hrd/39.369438448182393855/shell.py", 
line 777, in post live.evaluate(statement, session, printer, stream) File 
"/base/data/home/apps/s~sympy-live-hrd/39.369438448182393855/shell.py", 
line 436, in evaluate if name not in old_globals or val != 
old_globals[name]: ValueError: The truth value of an array with more than 
one element is ambiguous. Use a.any() or a.all()


-- 
You received this message because you are subscribed to the Google Groups 
"sympy" 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/sympy.
For more options, visit https://groups.google.com/groups/opt_out.

<<attachment: Screen Shot 2013-11-05 at 3.27.30 PM.png>>

Reply via email to