Changeset 1c1d660 in git for Tst/Short/bug_tr760_761.tst
- Timestamp:
- May 11, 2016, 1:46:26 PM (7 years ago)
- Branches:
- (u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
- Children:
- 8e11c18a3a737eb1a4f019cd5a31a51b01b07da8ff38ee02732552e78a143ebf4f9aadccee454071
- Parents:
- ed91a648ee6c2d95f04a52b58c09059d4c2c717e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Tst/Short/bug_tr760_761.tst
red91a6 r1c1d660 13 13 print(betti(s, 0), "betti"); 14 14 15 // 761: r wowShift, if betti[1,1] is 015 // 761: rowShift, if betti[1,1] is 0 16 16 ring r2 = 0, x, dp; 17 17 module m = gen(1); … … 19 19 print(betti(list(m), 0), "betti"); 20 20 21 // 763: there may be 0 as generator 22 LIB "matrix.lib"; 23 ring r3 = 0, (x,y,z), dp; 24 ideal i1 = x, y, z; 25 ideal i2 = 1; 26 resolution s1 = res(i1, 0); 27 resolution s2 = res(i2, 0); 28 list l1 = s1; 29 list l2 = s2; 30 print(betti(l1, 0), "betti"); 31 print(betti(l2, 0), "betti"); 32 list l_sum; 33 l_sum[3] = module(dsum(matrix(l1[3]), matrix(l2[1]))); // direct sum 34 l_sum[1] = l1[1]; 35 l_sum[2] = module(l1[2][1], l1[2][2], l1[2][3], 0); 36 l_sum; 37 38 print(betti(l_sum, 0), "betti"); 39 21 40 tst_status(1);$; 22 41
Note: See TracChangeset
for help on using the changeset viewer.