spielwiese
Last change
on this file since fdda546 was
ad75673,
checked in by Hans Schoenemann <hannes@…>, 9 years ago
|
fix: tr. #707 (Pfister)
|
-
Property mode set to
100644
|
File size:
409 bytes
|
Line | |
---|
1 | LIB "tst.lib"; |
---|
2 | tst_init(); |
---|
3 | |
---|
4 | LIB "primdec.lib"; |
---|
5 | system("random",1580702082); |
---|
6 | ring rng = (5,vv),(x,y,z),dp; |
---|
7 | minpoly = vv^2-2; |
---|
8 | ideal I = (-2*vv)*x*z+(-vv)*y^3,x*y*z-2*x*y+2*y^3,-x+z^2+(-2*vv); |
---|
9 | list L1 = primdecGTZ (I); |
---|
10 | list L2 = primdecSY (I); |
---|
11 | L1; |
---|
12 | L2; |
---|
13 | |
---|
14 | testPrimary(L1 , I) ; |
---|
15 | testPrimary(L2 , I) ; |
---|
16 | |
---|
17 | // here is the issue: |
---|
18 | idealsEqual(L1[4][2],L2[4][2]); //ok |
---|
19 | idealsEqual(L1[4][1],L2[4][1]); //=0 |
---|
20 | |
---|
21 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.