Changeset 805315e in git


Ignore:
Timestamp:
Apr 21, 2021, 6:38:57 PM (3 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
fe846e907cf006d4c9344e218cea95af49781876
Parents:
30e184b9f651e8205529c6336cd2f7c39e603699
Message:
opt: idElimination, intro. V_IDELIM
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • kernel/GBEngine/kstd2.cc

    r30e184 r805315e  
    25952595
    25962596      // enter into S, L, and T
    2597       if ((!TEST_OPT_IDLIFT) || (pGetComp(strat->P.p) <= strat->syzComp))
     2597      if (((!TEST_OPT_IDLIFT) || (pGetComp(strat->P.p) <= strat->syzComp))
     2598      &&  ((!TEST_OPT_IDELIM) || (p_Deg(strat->P.p,currRing) > 0)))
    25982599      {
    25992600        enterT(strat->P, strat);
  • kernel/ideals.cc

    r30e184 r805315e  
    17921792    alg=GbDefault;
    17931793  }
     1794  BITSET save2;
     1795  SI_SAVE_OPT2(save2);
     1796  if (!TEST_OPT_RETURN_SB) si_opt_2|=V_IDELIM;
    17941797  hh=idGroebner(h,0,alg,hilb);
     1798  SI_RESTORE_OPT2(save2);
    17951799  // go back to the original ring
    17961800  rChangeCurrRing(origR);
  • libpolys/misc/options.h

    r30e184 r805315e  
    6868#define V_INTERSECT_SYZ 26
    6969#define V_ASSIGN_NONE 27
    70 /* for tests: 28-30 */
     70#define V_IDELIM      28
     71/* for tests: 29-30 */
    7172#define V_DEG_STOP   31
    7273
     
    127128#define TEST_OPT_CANCELUNIT        BVERBOSE(V_CANCELUNIT)
    128129#define TEST_OPT_IDLIFT            BVERBOSE(V_IDLIFT)
     130#define TEST_OPT_IDELIM            BVERBOSE(V_IDELIM)
    129131#define TEST_OPT_LENGTH            BVERBOSE(V_LENGTH)
    130132#define TEST_V_QRING               BVERBOSE(V_QRING)
Note: See TracChangeset for help on using the changeset viewer.