Changeset f224d85 in git for kernel/kInline.h
- Timestamp:
- Sep 24, 2012, 2:52:20 PM (11 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 92296297754bdb3c65ffad980c8e982ef37cf33b
- Parents:
- abe5c8b5ebdd2be025cd137e4a089c3780efb8a3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/kInline.h
rabe5c8 rf224d85 546 546 if (p != NULL) pNext(p) = NULL; 547 547 pLength = 0; 548 last = NULL; 549 } 550 } 551 } 552 553 KINLINE void sLObject::SetLmTail(poly lm, poly p_tail, int p_Length, int use_bucket, ring _tailRing, poly _last) 548 } 549 } 550 } 551 552 KINLINE void sLObject::SetLmTail(poly lm, poly p_tail, int p_Length, int use_bucket, ring _tailRing) 554 553 { 555 554 … … 561 560 pNext(lm) = NULL; 562 561 pLength = 0; 563 last = NULL;564 562 } 565 563 else … … 567 565 pNext(lm) = p_tail; 568 566 pLength = p_Length + 1; 569 last = _last; 570 } 571 567 } 572 568 } 573 569 … … 718 714 new_tailRing->PolyBin,p_shallow_copy_delete, 719 715 FALSE); 720 last = NULL;721 716 } 722 717 … … 747 742 } 748 743 TObject::Copy(); 749 last = NULL;750 744 } 751 745 752 746 KINLINE poly sLObject::CopyGetP() 753 747 { 754 last = NULL;755 748 if (bucket != NULL) 756 749 { … … 789 782 if (! deg_last || bucket != NULL) return sLObject::pLDeg(); 790 783 791 if (last == NULL || pLength == 0)792 last = pLast(GetLmTailRing(), pLength);793 #ifdef HAVE_ASSUME794 784 long ldeg; 795 785 ldeg = tailRing->pLDeg(GetLmTailRing(), &length, tailRing); 786 #ifdef HAVE_ASSUME 787 if ( pLength == 0) 788 p_Last(GetLmTailRing(), pLength, tailRing); 796 789 assume ( pLength == length || rIsSyzIndexRing(currRing)); 797 assume (ldeg == tailRing->pFDeg(last,tailRing)); 790 #else 791 pLength=length; 792 #endif 798 793 return ldeg; 799 #else800 length = pLength;801 return tailRing->pFDeg(last, tailRing);802 #endif803 794 } 804 795 … … 1173 1164 // dummy function for function pointer strat->rewCrit being usable in all 1174 1165 // possible choices for criteria 1175 KINLINE BOOLEAN arriRewDummy(poly sig, unsigned long not_sevSig, kStrategy strat, int start=0)1166 KINLINE BOOLEAN arriRewDummy(poly /*sig*/, unsigned long /*not_sevSig*/, kStrategy /*strat*/, int start=0) 1176 1167 { 1177 1168 return FALSE;
Note: See TracChangeset
for help on using the changeset viewer.