Changeset 7ddfab in git for kernel/GBEngine/kInline.h


Ignore:
Timestamp:
Jul 13, 2018, 3:51:16 PM (5 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'a719bcf0b8dbc648b128303a49777a094b57592c')
Children:
55b29ffa7e5ceaaf5e8681e442c601fdf88fd855
Parents:
0612fd84c8ed63efc96d7b8645ceb1f37b32cd17
Message:
LObject::CanonicalizeP/Normalize
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/GBEngine/kInline.h

    r0612fd r7ddfab  
    334334    pNormalize(p);
    335335  }
     336  if (bucket!=NULL) kBucketNormalize(bucket);
     337}
     338
     339KINLINE void sLObject::CanonicalizeP()
     340{
     341  if (bucket != NULL)
     342    kBucketCanonicalize(bucket);
    336343}
    337344
     
    638645  Set(pn, tailRing);
    639646  return ret;
    640 }
    641 
    642 KINLINE poly sLObject::CanonicalizeP()
    643 {
    644   //kTest_L(this);
    645   int i = -1;
    646 
    647   if (bucket != NULL)
    648     i = kBucketCanonicalize(bucket);
    649 
    650   if (p == NULL)
    651     p = k_LmInit_tailRing_2_currRing(t_p, tailRing);
    652 
    653   if (i >= 0) pNext(p) = bucket->buckets[i];
    654   return p;
    655647}
    656648
Note: See TracChangeset for help on using the changeset viewer.