Changeset 5eb865 in git for kernel/kstd2.cc
- Timestamp:
- Jun 9, 2009, 8:21:50 PM (14 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- e4be351ada16eebdaa1e48ce01115ffc5287dbd3
- Parents:
- b82abb0dc3349df20acd8231f648b8ff51bc61b6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/kstd2.cc
rb82abb r5eb865 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: kstd2.cc,v 1.8 7 2009-06-04 08:15:45Singular Exp $ */4 /* $Id: kstd2.cc,v 1.88 2009-06-09 18:21:50 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT - Kernel: alg. of Buchberger … … 1221 1221 if ((p!=NULL)&&((lazyReduce & KSTD_NF_LAZY)==0)) 1222 1222 { 1223 BITSET save=test;1224 test &= ~Sy_bit(OPT_INTSTRATEGY);1225 1223 if (TEST_OPT_PROT) { PrintS("t"); mflush(); } 1226 p = redtailBba(p,max_ind,strat,(lazyReduce & KSTD_NF_NONORM)==0); 1227 test=save; 1224 #ifdef HAVE_RINGS 1225 if (rField_is_Ring()) 1226 { 1227 p = redtailBba_Z(p,max_ind,strat); 1228 } 1229 else 1230 #endif 1231 { 1232 BITSET save=test; 1233 test &= ~Sy_bit(OPT_INTSTRATEGY); 1234 p = redtailBba(p,max_ind,strat,(lazyReduce & KSTD_NF_NONORM)==0); 1235 test=save; 1236 } 1228 1237 } 1229 1238 /*- release temp data------------------------------- -*/ … … 1277 1286 /*- compute------------------------------------------------------- -*/ 1278 1287 res=idInit(IDELEMS(q),si_max(q->rank,F->rank)); 1288 BITSET save=test; 1289 test &= ~Sy_bit(OPT_INTSTRATEGY); 1279 1290 for (i=IDELEMS(q)-1; i>=0; i--) 1280 1291 { … … 1285 1296 if ((p!=NULL)&&((lazyReduce & KSTD_NF_LAZY)==0)) 1286 1297 { 1287 BITSET save=test;1288 test &= ~Sy_bit(OPT_INTSTRATEGY);1289 1298 if (TEST_OPT_PROT) { PrintS("t"); mflush(); } 1290 p = redtailBba(p,max_ind,strat,(lazyReduce & KSTD_NF_NONORM)==0); 1291 test=save; 1299 #ifdef HAVE_RINGS 1300 if (rField_is_Ring()) 1301 { 1302 p = redtailBba_Z(p,max_ind,strat); 1303 } 1304 else 1305 #endif 1306 { 1307 p = redtailBba(p,max_ind,strat,(lazyReduce & KSTD_NF_NONORM)==0); 1308 } 1292 1309 } 1293 1310 res->m[i]=p; … … 1297 1314 } 1298 1315 /*- release temp data------------------------------- -*/ 1316 test=save; 1299 1317 omfree(strat->sevS); 1300 1318 omfree(strat->ecartS);
Note: See TracChangeset
for help on using the changeset viewer.