Changeset ed01f11 in git


Ignore:
Timestamp:
Jan 30, 2020, 11:58:18 PM (4 years ago)
Author:
Karim Abou Zeid <karim23697@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'c7af8613769b29c741d6c338945669719f1fc4f8')
Children:
3d391f4ba470ca1e5be9c88b87c62b761171c1ba9e03f32545849bee124d9e6a655dbf74f853e1c8
Parents:
e0abce673e2555b4ca67f152983a6c35553826e0
Message:
Fix letterplace reduce sometimes not working correctly
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/GBEngine/kutil.cc

    re0abce red01f11  
    93749374void enterSBbaShift (LObject &p,int atS,kStrategy strat, int atR)
    93759375{
     9376  enterSBba(p, atS, strat, atR);
     9377
    93769378  int maxPossibleShift = p_mLPmaxPossibleShift(p.p, strat->tailRing);
    93779379  for (int i = maxPossibleShift; i > 0; i--)
    93789380  {
     9381
    93799382    LObject qq;
    93809383    qq.p = pLPCopyAndShiftLM(p.p, i); // don't use Set() because it'll test the poly order
    93819384    qq.shift = i;
    93829385    strat->initEcart(&qq); // initEcartBBA sets length, pLength, FDeg and ecart
     9386    int atS = posInS(strat, strat->sl, qq.p, qq.ecart); // S needs to stay sorted because this is for example assumed when searching S later
    93839387    enterSBba(qq, atS, strat, -1);
    93849388  }
    9385   enterSBba(p, atS, strat, atR);
    93869389}
    93879390#endif
Note: See TracChangeset for help on using the changeset viewer.