Changeset 5402db6 in git


Ignore:
Timestamp:
Nov 18, 2022, 5:37:34 PM (3 months ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'ad2543eab51733612ba7d118afc77edca719600e')
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.