Changeset 6e3023a in git for kernel/kspoly.cc


Ignore:
Timestamp:
Dec 18, 2013, 2:57:02 PM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
3a9e92a717b194d4a06a429b452258c0269579076235be46a7d664256bb99b1bd6340cd8ad800e2c
Parents:
74c446222122656dc7859919b51f3806768e7fd331b00db0e867fa73d4415e16969423de4337f6f7
Message:
Merge pull request #437 from ederc/sig-comparisons

Improvements for SBA
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/kspoly.cc

    r74c4462 r6e3023a  
    201201   * TODO:
    202202   * --------------------------------------------
    203    * if strat->incremental
     203   * if strat->sbaOrder == 1
    204204   * Since we are subdividing lower index and
    205205   * current index reductions it is enough to
     
    207207   * for a check. This should speed-up checking
    208208   * a lot!
    209    * if !strat->incremental
     209   * if !strat->sbaOrder == 0
    210210   * We are not subdividing lower and current index
    211211   * due to the fact that we are using the induced
     
    223223  if (!PW->is_sigsafe)
    224224  {
    225     poly f1 = p_Copy(PR->GetLmCurrRing(),currRing);
     225    poly ftmp;
     226    ring rtmp;
     227    PR->SetLmCurrRing();
     228    poly f1 = pCopy(PR->GetLmCurrRing());
     229    //PR->GetLm(ftmp,rtmp);
     230    //poly f1 = k_LmInit_tailRing_2_currRing(ftmp,rtmp);
    226231    poly f2 = PW->GetLmCurrRing();
    227232    poly sigMult = pCopy(PW->sig);   // copy signature of reducer
     
    235240    printf("--------------\n");
    236241#endif
    237     sigMult = pp_Mult_qq(f1,sigMult,currRing);
     242    sigMult = p_Mult_q(f1,sigMult,currRing);
    238243//#if 1
    239244#ifdef DEBUGF5
     
    253258
    254259#endif
    255     pDelete(&f1);
     260    //pDelete(&f1);
    256261    pDelete(&sigMult);
    257262    // go on with the computations only if the signature of p2 is greater than the
     
    262267      return 3;
    263268    }
    264     PW->is_sigsafe  = TRUE;
     269    //PW->is_sigsafe  = TRUE;
    265270  }
    266271  PR->is_redundant = FALSE;
Note: See TracChangeset for help on using the changeset viewer.