Changeset 08ab82 in git for kernel/kstd2.cc
- Timestamp:
- Nov 6, 2007, 5:30:20 PM (16 years ago)
- Branches:
- (u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
- Children:
- 894377fe1ce013f6a8373f81afd184a94478f653
- Parents:
- 2cfd742d986a19d4e480155ffdcced30570493ee
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/kstd2.cc
r2cfd74 r08ab82 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: kstd2.cc,v 1.5 5 2007-11-06 12:58:34Singular Exp $ */4 /* $Id: kstd2.cc,v 1.56 2007-11-06 16:30:20 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT - Kernel: alg. of Buchberger … … 1037 1037 pNorm(strat->S[j]); 1038 1038 //if (TEST_OPT_PROT) { PrintS("n"); mflush(); } 1039 1040 1039 sl=pSize(strat->S[j]); 1040 } 1041 1041 if (!nIsOne(pGetCoeff(strat->S[jj]))) 1042 1042 { 1043 1043 pNorm(strat->S[jj]); 1044 1044 //if (TEST_OPT_PROT) { PrintS("n"); mflush(); } 1045 sll=pSize(strat->S[jj]); 1046 } 1047 if (sll<sl) 1048 { 1049 if (TEST_OPT_DEBUG) Print("better(S%d:%d -> S%d:%d)\n",j,sl,jj,sll); 1045 sll=pSize(strat->S[jj]); 1046 } 1047 if (sll<sl) 1048 { 1049 #ifdef KDEBUG 1050 if (TEST_OPT_DEBUG) Print("better(S%d:%d -> S%d:%d)\n",j,sl,jj,sll); 1051 #endif 1050 1052 //else if (TEST_OPT_PROT) { PrintS("b"); mflush(); } 1051 1053 j=jj; 1052 1054 sl=sll; 1053 1055 } 1054 1056 } 1055 1057 } … … 1158 1160 { 1159 1161 if (strat->Ll > lrmax) lrmax =strat->Ll;/*stat.*/ 1160 #ifdef KDEBUG1161 loop_count++;1162 #ifdef HAVE_RINGS1163 if (TEST_OPT_DEBUG) PrintS("--- next step ---\n");1164 #endif1165 if (TEST_OPT_DEBUG) messageSets(strat);1166 #endif1162 #ifdef KDEBUG 1163 loop_count++; 1164 #ifdef HAVE_RINGS 1165 if (TEST_OPT_DEBUG) PrintS("--- next step ---\n"); 1166 #endif 1167 if (TEST_OPT_DEBUG) messageSets(strat); 1168 #endif 1167 1169 if (strat->Ll== 0) strat->interpt=TRUE; 1168 1170 if (TEST_OPT_DEGBOUND
Note: See TracChangeset
for help on using the changeset viewer.