Changeset 7ca3d2 in git
- Timestamp:
- May 7, 2003, 6:59:37 PM (21 years ago)
- Branches:
- (u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
- Children:
- 2537bcce97e6db25dc0c6776942388017f955663
- Parents:
- 9ca8f2da22a86787d3f9122d37aaff6398c3508b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/tgb.cc
r9ca8f2 r7ca3d2 876 876 877 877 878 poly short_s=ksCreateShortSpoly(c->S->m[i],c->S->m[j],c->r);879 if (short_s)880 {878 // poly short_s=ksCreateShortSpoly(c->S->m[i],c->S->m[j],c->r); 879 // if (short_s) 880 // { 881 881 sorted_pair_node* s=(sorted_pair_node*) omalloc(sizeof(sorted_pair_node)); 882 882 s->i=max(i,j); 883 883 s->j=min(i,j); 884 884 s->expected_length=c->lengths[i]+c->lengths[j]-2; 885 s->deg=pTotaldegree(short_s);885 886 886 poly lm=pOne(); 887 887 888 888 pLcm(c->S->m[i], c->S->m[j], lm); 889 889 pSetm(lm); 890 s->deg=pTotaldegree(lm); 890 891 s->lcm_of_lm=lm; 891 pDelete(&short_s);892 // pDelete(&short_s); 892 893 //assume(lm!=NULL); 893 894 nodes[spc]=s; 894 895 spc++; 895 896 897 898 c->states[i][j]=HASTREP;899 896 // } 897 //else 898 //{ 899 //c->states[i][j]=HASTREP; 900 //} 900 901 } 901 902 }
Note: See TracChangeset
for help on using the changeset viewer.