Changeset 41aecf in git


Ignore:
Timestamp:
Jul 7, 2015, 2:01:54 PM (8 years ago)
Author:
Adi Popescu <adi_popescum@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
5ce55117cb44e8329794e5d1774b323ef206c8c5
Parents:
3d3ab7de4e431d41d91343651c4c8fde36d43d06
Message:
fix: enterOneStrongPoly
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/GBEngine/kutil.cc

    r3d3ab7 r41aecf  
    16831683    posx = strat->posInL(strat->L,strat->Ll,&h,strat);
    16841684  h.sev = pGetShortExpVector(h.p);
     1685  h.i_r1 = -1;h.i_r2 = -1;
    16851686  if (currRing!=strat->tailRing)
    1686   {
    1687     if (h.t_p==NULL) /* may already been set by pLdeg() in initEcart */
    1688       h.t_p = k_LmInit_currRing_2_tailRing(h.p, strat->tailRing);
    1689   }
     1687    h.t_p = k_LmInit_currRing_2_tailRing(h.p, strat->tailRing);
     1688  #if 1
     1689  h.p1 = p;h.p2 = strat->S[i];
     1690  #endif
     1691  if (atR >= 0)
     1692    {
     1693      h.i_r2 = strat->S_2_R[i];
     1694      h.i_r1 = atR;
     1695    }
     1696    else
     1697    {
     1698      h.i_r1 = -1;
     1699      h.i_r2 = -1;
     1700    }
    16901701  enterL(&strat->L,&strat->Ll,&strat->Lmax,h,posx);
     1702  #if ADIDEBUG
     1703  printf("\nThis strong poly was added to L:\n");pWrite(h.p);pWrite(h.p1);pWrite(h.p2);printf("\ni_r1 = %i, i_r2 = %i\n",h.i_r1, h.i_r2);pWrite(strat->T[h.i_r1].p);pWrite(strat->T[h.i_r2].p);
     1704  #endif
    16911705  return TRUE;
    16921706}
Note: See TracChangeset for help on using the changeset viewer.