Ticket #7425 (closed defect: fixed)
I.variety() doesn't check that I is zero-dimensional
| Reported by: | AlexGhitza | Owned by: | malb |
|---|---|---|---|
| Priority: | major | Milestone: | sage-4.2.1 |
| Component: | commutative algebra | Keywords: | |
| Cc: | Work issues: | ||
| Report Upstream: | Reviewers: | Martin Albrecht | |
| Authors: | Alex Ghitza | Merged in: | sage-4.2.1.rc0 |
| Dependencies: | Stopgaps: |
Description
I.variety() should first check whether the ideal I is indeed 0-dimensional and refuse to continue otherwise. This should be a fairly trivial fix. Right now the following seems to run forever:
---------------------------------------------------------------------- | Sage Version 4.2, Release Date: 2009-10-24 | | Type notebook() for the GUI, and license() for information. | ---------------------------------------------------------------------- sage: R.<x, y, z> = QQ[] sage: I = R.ideal([x^2-y^3*z, x+y*z]) sage: I.dimension() 1 sage: I.variety() verbose 0 (1808: multi_polynomial_ideal.py, variety) Warning: falling back to very slow toy implementation.
Attachments
Change History
comment:1 Changed 4 years ago by AlexGhitza
- Status changed from new to needs_review
- Authors set to Alex Ghitza
comment:2 Changed 4 years ago by malb
- Status changed from needs_review to positive_review
patch looks good, applies cleanly against 4.2, doctests pass, reference manual builds without any warnings.
Note: See
TracTickets for help on using
tickets.

