Using 4.6.2 in the notebook:
mod(2,990)^-1
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "_sage_input_24.py", line 10, in <module>
exec compile(u'open("___code___.py","w").write("# -*- coding:
utf-8 -*-\\n" +
_support_.preparse_worksheet_cell(base64.b64decode("bW9kKDIsOTkwKV4tMQ=="),globals())
+"\\n"); execfile(os.path.abspath("___code___.py"))
File "", line 1, in <module>
File "/private/var/folders/Yy/YytEJm5VEB0+pBRD7JNLe++++TQ/-Tmp-/
tmpEYiBip/___code___.py", line 3, in <module>
exec compile(u'mod(_sage_const_2 ,_sage_const_990 )**-
_sage_const_1
File "", line 1, in <module>
RuntimeError
Shouldn't there be something here about trying to invert something not
in a group of units, like a ZeroDivisionError type of thing? If this
happened in the middle of some huge computation, I'd be up a river
without a paddle.
Thanks for any insight,
- kcrisman
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org