Bug #1411
IsPrimary sometimes wrong
Description
The IsPrimary
sometimes gives a wrong result.
Here is an instance:
p:=2; K::=ZZ/(p); Use R::=K[x,y]; J:=ideal(x^2, y^2 +y +1); IsPrimary(J); --> incorrectly gives false
Reported by email; simplified by Robbiano.
Related issues
History
#1 Updated by John Abbott about 4 years ago
- Status changed from New to Resolved
- Assignee set to John Abbott
- % Done changed from 0 to 70
- Estimated time set to 1.50 h
I think it is OK now.
The problem was in SparsePolyOps-ideal-ZeroDim.C
around line 295. The result was computed but not set by myAssignaPrimaryFlag
.
Added the call to myAssignPrimaryFlag
. Seems to work now.
#2 Updated by Anna Maria Bigatti about 4 years ago
- Related to Design #1409: myTestIsPrimary & Co. : fix design added
#3 Updated by John Abbott about 4 years ago
- Related to Design #1409: myTestIsPrimary & Co. : fix design added
#4 Updated by John Abbott about 4 years ago
- Status changed from Resolved to Closed
- % Done changed from 70 to 100
- Estimated time changed from 1.50 h to 1.25 h