Changeset e36a2c0 in git
- Timestamp:
- Feb 25, 2005, 4:07:05 PM (19 years ago)
- Branches:
- (u'spielwiese', 'ec94ef7a30b928574c0c3daf41f6804dff5f6b69')
- Children:
- 41e418899bda23bfaa5122244dc67751826b1774
- Parents:
- c94036980b50bb7b8ff25462ce8b0f87a0ebad02
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/gr_kstd2.cc
rc94036 re36a2c0 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: gr_kstd2.cc,v 1. 5 2005-02-17 09:42:18Singular Exp $ */4 /* $Id: gr_kstd2.cc,v 1.6 2005-02-25 15:07:05 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT - Kernel: noncomm. alg. of Buchberger … … 90 90 if (TEST_OPT_INTSTRATEGY) 91 91 { 92 pCleardenom((*h).p); 92 if (rField_is_Zp_a()) pContent(h->p); 93 else pCleardenom(h->p);// also does a pContent 93 94 } 94 95 /*computes the ecart*/ … … 250 251 return 0; 251 252 } 252 else if (strat->syzComp!=0) 253 { 254 if ((strat->syzComp>0) && (pMinComp((*h).p) > strat->syzComp)) 255 { 256 //pContent((*h).p); 257 pCleardenom((*h).p);// also does a pContent 253 else 254 { 255 if (TEST_OPT_INTSTRATEGY) 256 { 257 if (rField_is_Zp_a()) pContent(h->p); 258 else pCleardenom(h->p);// also does a pContent 259 } 260 if (strat->syzComp!=0) 261 { 262 if ((strat->syzComp>0) && (pMinComp((*h).p) > strat->syzComp)) 263 { 258 264 /* 259 * (*h).length=pLength0((*h).p); 260 */ 261 enterT((*h),strat); 262 return 0; 265 * (*h).length=pLength0((*h).p); 266 */ 267 enterT((*h),strat); 268 return 0; 269 } 263 270 } 264 271 } … … 270 277 if (j >= strat->tl) 271 278 { 272 //pContent((*h).p); 273 pCleardenom((*h).p);// also does a pContent 279 if (TEST_OPT_INTSTRATEGY) 280 { 281 if (rField_is_Zp_a()) pContent(h->p); 282 else pCleardenom(h->p);// also does a pContent 283 } 274 284 /* 275 285 * (*h).length=pLength0((*h).p); … … 335 345 // } 336 346 // } 337 else if (TEST_OPT_DEBUG) 338 { 339 PrintS("to:"); 340 wrp((*h).p); 341 PrintLn(); 347 else 348 { 349 if (TEST_OPT_DEBUG) 350 { 351 PrintS("to:"); 352 wrp((*h).p); 353 PrintLn(); 354 } 355 if (TEST_OPT_INTSTRATEGY) 356 { 357 pContent(h->p); 358 //pCleardenom(h->p);// also does a pContent 359 } 342 360 } 343 361 /*- try to reduce the s-polynomial -*/ … … 359 377 } 360 378 } 361 379 while (!pDivisibleBy(strat->S[i],(*h).p)); 362 380 if (TEST_OPT_DEBUG) Print(" ->L[%d]\n",at); 363 381 enterL(&strat->L,&strat->Ll,&strat->Lmax,*h,at); … … 381 399 if (TEST_OPT_INTSTRATEGY) 382 400 { 383 //pContent(h->p);384 pCleardenom(h->p);// also does a pContent401 if (rField_is_Zp_a()) pContent(h->p); 402 else pCleardenom(h->p);// also does a pContent 385 403 } 386 404 enterT((*h),strat); … … 495 513 (*h).lcm=NULL; 496 514 return 0; 515 } 516 if (TEST_OPT_INTSTRATEGY) 517 { 518 //pContent(h->p); 519 pCleardenom(h->p);// also does a pContent 497 520 } 498 521 /* compute the ecart */
Note: See TracChangeset
for help on using the changeset viewer.