-
-
Notifications
You must be signed in to change notification settings - Fork 580
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Listing an infinite vector space just hangs #10470
Comments
comment:1
It seems |
Attachment: trac_10470-listing-infinite-sets.patch.gz |
Author: Rob Beezer |
comment:4
This was discussed further on sage-devel: http://groups.google.com/group/sage-devel/browse_thread/thread/3bb0f163b1fb1020 Patch just checks to see if a parent knows that is infinite, and if so, bails out with an explanation. Otherwise behavior should be the same. Passes the full test suite. |
Attachment: trac_10470-referee-doc.patch.gz apply on top of other patch |
Reviewer: John Palmieri |
This comment has been minimized.
This comment has been minimized.
comment:5
I'm happy with the main patch: it gets a positive review. I've added a little documentation about using |
comment:6
Additional documentation looks good. |
Merged: sage-4.7.alpha4 |
Asking for a list of elements in an infinite vector space does not raise an error, but requires a Ctrl-C to get back the command-line.
Of course, finite examples work properly:
Maybe this should be addressed in the module code, I have not looked into the cause much. Perhaps a fix could be as simple as having a non-zero dimension with an infinite base ring throwing an error?
Apply both patches, attachment: trac_10470-listing-infinite-sets.patch and attachment: trac_10470-referee-doc.patch.
Component: linear algebra
Author: Rob Beezer
Reviewer: John Palmieri
Merged: sage-4.7.alpha4
Issue created by migration from https://trac.sagemath.org/ticket/10470
The text was updated successfully, but these errors were encountered: