Changeset 5402db6 in git for kernel/GBEngine/kutil.cc
- Timestamp:
- Nov 18, 2022, 5:37:34 PM (4 months ago)
- Branches:
- (u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 9a41ab03572f2614499d8f7a9066dd5e27cbf7ac
- Parents:
- 611e44bcd2cebe0cc0335a1014d84b8f0852c076
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/GBEngine/kutil.cc
r611e44 r5402db6 714 714 if (((p1 == (*p).p1) && (p2 == (*p).p2)) 715 715 || ((p1 == (*p).p2) && (p2 == (*p).p1))) 716 return TRUE;717 (*k)--;718 p--;719 }720 }721 722 /*2723 *in B all pairs have the same element p on the right724 *it tests whether (q,p) is in B and returns TRUE if yes725 *and the position k726 */727 BOOLEAN isInPairsetB(poly q,int* k,kStrategy strat)728 {729 LObject *p=&(strat->B[strat->Bl]);730 731 *k = strat->Bl;732 loop733 {734 if ((*k) < 0) return FALSE;735 if (q == (*p).p1)736 716 return TRUE; 737 717 (*k)--;
Note: See TracChangeset
for help on using the changeset viewer.