Changeset ab9672 in git for Singular/kstd2.cc
- Timestamp:
- Nov 6, 2000, 3:47:36 PM (24 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '38077648e7239f98078663eb941c3c979511150a')
- Children:
- 764e0c23470afd33233b29dcadf3244456e39279
- Parents:
- d7dcee21af33990fe117bd4e5bf9702e20188d99
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/kstd2.cc
rd7dcee rab9672 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: kstd2.cc,v 1.5 7 2000-11-03 14:50:17obachman Exp $ */4 /* $Id: kstd2.cc,v 1.58 2000-11-06 14:47:34 obachman Exp $ */ 5 5 /* 6 6 * ABSTRACT - Kernel: alg. of Buchberger … … 687 687 poly m1 = NULL, m2 = NULL; 688 688 /* check that spoly creation is ok */ 689 if(strat->tailRing != currRing &&690 !kCheckSpolyCreation(strat, m1, m2))689 while (strat->tailRing != currRing && 690 !kCheckSpolyCreation(strat, m1, m2)) 691 691 { 692 692 assume(m1 == NULL && m2 == NULL); … … 694 694 // twice as large as current ones -- should be enough to 695 695 // get through ksCreateSpoly correctly 696 kStratChangeTailRing(strat, 697 rModifyRing(currRing, strat->homog, ! strat->ak, 698 strat->tailRing->bitmask << 1)); 696 kStratChangeTailRing(strat); 699 697 } 700 698 /* deletes the short spoly and computes */ … … 764 762 // put stuff into T-Set 765 763 enterT(strat->P, strat); 766 enterpairs(strat->P.p,strat->sl,strat->P.ecart,pos,strat );764 enterpairs(strat->P.p,strat->sl,strat->P.ecart,pos,strat, strat->tl); 767 765 // posInS only depends on the leading term 768 766 strat->enterS(strat->P, pos, strat, strat->tl); … … 836 834 if (strat->sevS != NULL) 837 835 omFreeSize((ADDRESS)strat->sevS,IDELEMS(strat->Shdl)*sizeof(unsigned long)); 836 omfree(strat->T); 837 omfree(strat->sevT); 838 omfree(strat->R); 839 omfree(strat->S_2_R); 840 omfree(strat->L); 841 omfree(strat->B); 838 842 idDelete(&strat->Shdl); 839 843 test=save_test; … … 891 895 if (strat->sevS != NULL) 892 896 omFreeSize((ADDRESS)strat->sevS,IDELEMS(strat->Shdl)*sizeof(unsigned long)); 897 omfree(strat->T); 898 omfree(strat->sevT); 899 omfree(strat->R); 900 omfree(strat->S_2_R); 901 omfree(strat->L); 902 omfree(strat->B); 893 903 idDelete(&strat->Shdl); 894 904 test=save_test;
Note: See TracChangeset
for help on using the changeset viewer.