Changeset 164e05 in git
- Timestamp:
- Nov 17, 2022, 12:02:14 PM (3 months ago)
- Branches:
- (u'spielwiese', 'ad2543eab51733612ba7d118afc77edca719600e')
- Children:
- 073b8bec385cec2c5a3fd52795d85bdc3047485b
- Parents:
- 4be499482c59e5144efe25ae812ae5d6f4d2b79f
- Location:
- kernel/GBEngine
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/GBEngine/kstd2.cc
r4be499 r164e05 296 296 if ((T[j].p!=NULL) 297 297 && p_LmShortDivisibleBy(T[j].p, sevT[j],p, not_sev, r)) 298 {299 if(n_DivBy(pGetCoeff(p), pGetCoeff(T[j].p), r->cf))300 return j;301 }302 298 #else 303 299 if (!(sevT[j] & not_sev) 304 300 && (T[j].p!=NULL) 305 301 && p_LmDivisibleBy(T[j].p, p, r)) 302 #endif 306 303 { 307 304 if(n_DivBy(pGetCoeff(p), pGetCoeff(T[j].p), r->cf)) 308 305 return j; 309 306 } 310 #endif311 307 j++; 312 308 } … … 320 316 if ((T[j].p!=NULL) 321 317 && p_LmShortDivisibleBy(T[j].p, sevT[j],p, not_sev, r)) 322 {323 return j;324 }325 318 #else 326 319 if (!(sevT[j] & not_sev) 327 320 && (T[j].p!=NULL) 328 321 && p_LmDivisibleBy(T[j].p, p, r)) 322 #endif 329 323 { 330 324 return j; 331 325 } 332 #endif333 326 j++; 334 327 } … … 347 340 if (p_LmShortDivisibleBy(T[j].t_p, sevT[j], 348 341 p, not_sev, r)) 349 {350 if(n_DivBy(pGetCoeff(p), pGetCoeff(T[j].t_p), r->cf))351 return j;352 }353 342 #else 354 343 if (!(sevT[j] & not_sev) && 355 344 p_LmDivisibleBy(T[j].t_p, p, r)) 345 #endif 356 346 { 357 347 if(n_DivBy(pGetCoeff(p), pGetCoeff(T[j].t_p), r->cf)) 358 348 return j; 359 349 } 360 #endif361 350 j++; 362 351 } … … 370 359 if (p_LmShortDivisibleBy(T[j].t_p, sevT[j], 371 360 p, not_sev, r)) 372 {373 return j;374 }375 361 #else 376 362 if (!(sevT[j] & not_sev) && 377 363 p_LmDivisibleBy(T[j].t_p, p, r)) 364 #endif 378 365 { 379 366 return j; 380 367 } 381 #endif382 368 j++; 383 369 } … … 418 404 if (p_LmShortDivisibleBy(strat->S[j], strat->sevS[j], 419 405 p, not_sev, currRing)) 420 {421 if(n_DivBy(pGetCoeff(p), pGetCoeff(strat->S[j]), currRing->cf))422 return j;423 }424 406 #else 425 407 if ( !(strat->sevS[j] & not_sev) && 426 408 p_LmDivisibleBy(strat->S[j], p, currRing)) 409 #endif 427 410 { 428 411 if(n_DivBy(pGetCoeff(p), pGetCoeff(strat->S[j]), currRing->cf)) 429 412 return j; 430 413 } 431 #endif432 414 j++; 433 415 } … … 441 423 if (p_LmShortDivisibleBy(strat->S[j], strat->sevS[j], 442 424 p, not_sev, currRing)) 443 {444 return j;445 }446 425 #else 447 426 if ( !(strat->sevS[j] & not_sev) && 448 427 p_LmDivisibleBy(strat->S[j], p, currRing)) 428 #endif 449 429 { 450 430 return j; 451 431 } 452 #endif453 432 j++; 454 433 } … … 476 455 if (p_LmShortDivisibleBy(strat->S[j], strat->sevS[j], 477 456 p, not_sev, currRing)) 478 {479 if(n_DivBy(pGetCoeff(p), pGetCoeff(strat->S[j]), currRing->cf))480 return j;481 }482 457 #else 483 458 if ( !(strat->sevS[j] & not_sev) && 484 459 p_LmDivisibleBy(strat->S[j], p, currRing)) 460 #endif 485 461 { 486 462 if(n_DivBy(pGetCoeff(p), pGetCoeff(strat->S[j]), currRing->cf)) 487 463 return j; 488 464 } 489 #endif490 465 j++; 491 466 } … … 499 474 if (p_LmShortDivisibleBy(strat->S[j], strat->sevS[j], 500 475 p, not_sev, currRing)) 501 {502 return j;503 }504 476 #else 505 477 if ( !(strat->sevS[j] & not_sev) && 506 478 p_LmDivisibleBy(strat->S[j], p, currRing)) 479 #endif 507 480 { 508 481 return j; 509 482 } 510 #endif511 483 j++; 512 484 } -
kernel/GBEngine/kutil.cc
r4be499 r164e05 7026 7026 if (strat->S[j]!= NULL && p_LmShortDivisibleBy(strat->S[j], sev[j], p, not_sev, r) && 7027 7027 (ecart== LONG_MAX || ecart>= strat->ecartS[j])) 7028 {7029 break;7030 }7031 7028 #else 7032 7029 if (!(sev[j] & not_sev) && 7033 7030 (ecart== LONG_MAX || ecart>= strat->ecartS[j]) && 7034 7031 p_LmDivisibleBy(strat->S[j], p, r)) 7035 {7036 break;7037 }7038 7032 #endif 7033 { 7034 break; 7035 } 7039 7036 j++; 7040 7037 } … … 7051 7048 && (ecart== LONG_MAX || ecart>= strat->ecartS[j]) 7052 7049 && n_DivBy(pGetCoeff(p), pGetCoeff(strat->S[j]), r->cf)) 7053 {7054 break; // found7055 }7056 7050 #else 7057 7051 if (!(sev[j] & not_sev) … … 7059 7053 && p_LmDivisibleBy(strat->S[j], p, r) 7060 7054 && n_DivBy(pGetCoeff(p), pGetCoeff(strat->S[j]), r->cf)) 7055 #endif 7061 7056 { 7062 7057 break; // found 7063 7058 } 7064 #endif7065 7059 j++; 7066 7060 } -
kernel/GBEngine/kutil.h
r4be499 r164e05 352 352 int Bl,Bmax; 353 353 int ak,LazyDegree,LazyPass; 354 intsyzComp;354 unsigned syzComp; 355 355 int lastAxis; 356 356 int newIdeal;
Note: See TracChangeset
for help on using the changeset viewer.