Ticket #13977 (closed defect: fixed)
variety() of full ideals fails, whereas it should just be empty
|Reported by:||Bouillaguet||Owned by:||malb|
|Report Upstream:||N/A||Reviewers:||Martin Albrecht|
|Authors:||Charles Bouillaguet||Merged in:||sage-5.7.beta0|
sage: R.<x,y> = QQ sage: I = R.ideal(1) sage: I.variety() Traceback (most recent call last): ... ValueError: The dimension of the ideal is -1, but it should be 0
While it's a matter of conventions whether ideals can have negative dimensions... the variety of QQ[x,y] should just be empty.
- Cc malb added
- Status changed from new to needs_review
- Authors set to Charles Bouillaguet
- Status changed from needs_review to positive_review
- Reviewers set to Martin Albrecht
Note: See TracTickets for help on using tickets.