Changeset 470125b in git for kernel/GBEngine/kutil.cc
- Timestamp:
- Oct 21, 2017, 4:36:59 PM (7 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
- Children:
- eafad1bbcab7f4572ef04a53e0ed3b009d4cc466
- Parents:
- 90e748412d86517c444a170ecbebbf9489c44e06
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/GBEngine/kutil.cc
r90e748 r470125b 7430 7430 { 7431 7431 T->Set(strat->S[j], r, strat->tailRing); 7432 assume(T->GetpLength()==pLength(T->p != __null ? T->p : T->t_p)); 7432 7433 return T; 7433 7434 } … … 7455 7456 (ecart== LONG_MAX || ecart>= strat->ecartS[j])) 7456 7457 { 7458 t->pLength=pLength(t->t_p); 7457 7459 return t; 7458 7460 } … … 7464 7466 if (p_LmDivisibleBy(t->t_p, p, r)) 7465 7467 { 7468 t->pLength=pLength(t->t_p); 7466 7469 return t; 7467 7470 } … … 7484 7487 (ecart== LONG_MAX || ecart>= strat->ecartS[j]) && n_DivBy(pGetCoeff(p), pGetCoeff(t->t_p), r->cf)) 7485 7488 { 7489 t->pLength=pLength(t->t_p); 7486 7490 return t; 7487 7491 } … … 7493 7497 if (p_LmDivisibleBy(t->t_p, p, r) && n_DivBy(pGetCoeff(p), pGetCoeff(t->t_p), r->cf)) 7494 7498 { 7499 t->pLength=pLength(t->t_p); 7495 7500 return t; 7496 7501 } … … 7595 7600 7596 7601 LObject Ln(pNext(h), strat->tailRing); 7597 Ln. pLength = L->GetpLength() - 1;7602 Ln.GetpLength(); 7598 7603 7599 7604 pNext(h) = NULL; 7600 if (L->p != NULL) pNext(L->p) = NULL; 7605 if (L->p != NULL) 7606 { 7607 pNext(L->p) = NULL; 7608 if (L->t_p != NULL) pNext(L->t_p) = NULL; 7609 } 7601 7610 L->pLength = 1; 7602 7611 … … 7626 7635 if (j < 0) break; 7627 7636 With = &(strat->T[j]); 7637 assume(With->GetpLength()==pLength(With->p != __null ? With->p : With->t_p)); 7628 7638 } 7629 7639 else … … 7631 7641 With = kFindDivisibleByInS_T(strat, end_pos, &Ln, &With_s); 7632 7642 if (With == NULL) break; 7643 assume(With->GetpLength()==pLength(With->p != __null ? With->p : With->t_p)); 7633 7644 } 7634 7645 cnt--;
Note: See TracChangeset
for help on using the changeset viewer.