Changeset 0b5677 in git


Ignore:
Timestamp:
Aug 22, 2018, 5:01:00 PM (5 years ago)
Author:
Karim Abou Zeid <karim23697@…>
Branches:
(u'spielwiese', '2fa36c576e6a4ddbb1093b43c7f8e9835e17e52a')
Children:
220277fa8e83a4114de1b10f16c45589bf2e4730
Parents:
85d7d333234b16c76e1eca63a87f3ab727763f92
Message:
Remove unused function
Location:
kernel/GBEngine
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/GBEngine/shiftgb.cc

    r85d7d3 r0b5677  
    128128}
    129129
    130 int p_LastVblockT(poly p, kStrategy strat, const ring r)
    131 {
    132   /* returns the number of maximal block */
    133   /* appearing among the monomials of p */
    134   /* the 0th block is the 1st one */
    135 
    136   /* p is like TObject: lm in currRing = r, tail in tailRing  */
    137   assume(p_LmCheckIsFromRing(p,r));
    138   assume(p_CheckIsFromRing(pNext(p),strat->tailRing));
    139 
    140   int ans = p_mLastVblock(p, r); // Block of LM
    141   poly q = pNext(p);
    142   while (q != NULL)
    143   {
    144     int ansnew = p_mLastVblock(q, strat->tailRing);
    145     ans       = si_max(ans,ansnew);
    146     pIter(q);
    147   }
    148   /* do not need to delete q */
    149   return(ans);
    150 }
    151 
    152130/* returns the number of maximal block */
    153131/* appearing among the monomials of p */
  • kernel/GBEngine/shiftgb.h

    r85d7d3 r0b5677  
    1313
    1414poly p_LPshiftT(poly p, int sh, kStrategy strat, const ring r);
    15 int p_LastVblockT(poly p, kStrategy strat, const ring r);
    1615
    1716poly p_LPshift(poly p, int sh, const ring r);
Note: See TracChangeset for help on using the changeset viewer.