Skip to content
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

element_class of Subsets is broken #8367

Closed
SamueleGiraudo opened this issue Feb 25, 2010 · 3 comments
Closed

element_class of Subsets is broken #8367

SamueleGiraudo opened this issue Feb 25, 2010 · 3 comments

Comments

@SamueleGiraudo
Copy link

element_class of Subsets is broken

sage: s = Subsets(Set([1]))
sage: e = s.first()
sage: isinstance(e, s.element_class)
False

Note: this should be caught by setting good categories

sage: s.category()
Category of objects

Component: combinatorics

Keywords: Subsets element_class

Author: Samuele Giraudo

Issue created by migration from https://trac.sagemath.org/ticket/8367

@SamueleGiraudo
Copy link
Author

@SamueleGiraudo
Copy link
Author

Author: Samuele Giraudo

@hivert
Copy link

hivert commented Mar 1, 2010

comment:2

Replying to @SamueleGiraudo:

Hi Samuele,

I think you made a mistake in opening new ticket #8396 for this problem. This ticket should be closed as duplicate.

@hivert hivert closed this as completed Mar 1, 2010
@sagetrac-mvngu sagetrac-mvngu mannequin removed this from the sage-4.3.4 milestone Mar 2, 2010
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants