Changeset 5402db6 in git for kernel/GBEngine/kutil.cc


Ignore:
Timestamp:
Nov 18, 2022, 5:37:34 PM (17 months ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
9a41ab03572f2614499d8f7a9066dd5e27cbf7ac
Parents:
611e44bcd2cebe0cc0335a1014d84b8f0852c076
Message:
removed: isInPairsetB
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/GBEngine/kutil.cc

    r611e44 r5402db6  
    714714    if (((p1 == (*p).p1) && (p2 == (*p).p2))
    715715    ||  ((p1 == (*p).p2) && (p2 == (*p).p1)))
    716       return TRUE;
    717     (*k)--;
    718     p--;
    719   }
    720 }
    721 
    722 /*2
    723 *in B all pairs have the same element p on the right
    724 *it tests whether (q,p) is in B and returns TRUE if yes
    725 *and the position k
    726 */
    727 BOOLEAN isInPairsetB(poly q,int*  k,kStrategy strat)
    728 {
    729   LObject *p=&(strat->B[strat->Bl]);
    730 
    731   *k = strat->Bl;
    732   loop
    733   {
    734     if ((*k) < 0) return FALSE;
    735     if (q == (*p).p1)
    736716      return TRUE;
    737717    (*k)--;
Note: See TracChangeset for help on using the changeset viewer.