Changeset 009bd5 in git for kernel/GBEngine/kstd1.cc


Ignore:
Timestamp:
Dec 4, 2014, 11:23:02 AM (9 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'df6a8e29030ff93c6ad53051028727af7d339fa0')
Children:
d50995160fd4a66b8b49207ac2c86fa22afea1ee
Parents:
d5771f0b547225409cbbd4793cbfe2cb394b5416
Message:
kstd1/kutil: clean r->OrdSgn: rHasGlobalOrdering
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/GBEngine/kstd1.cc

    rd5771f0 r009bd5  
    11871187    strat->use_buckets = kMoraUseBucket(strat);
    11881188#else
    1189   if ( (!rField_is_Ring(currRing)) || (currRing->OrdSgn != -1))
    1190     {
    1191     strat->red = redFirst;
     1189    if ( (!rField_is_Ring(currRing)) || (rHasGlobalOrdering(currRing)))
     1190    {
     1191      strat->red = redFirst;
    11921192      strat->use_buckets = kMoraUseBucket(strat);
    1193       }
    1194 #endif
    1195 
     1193    }
     1194#endif
    11961195    updateT(strat);
    11971196
     
    12001199    reorderT(strat);
    12011200#else
    1202   if ( (!rField_is_Ring(currRing)) || (currRing->OrdSgn != -1))
    1203     {
    1204     strat->posInT = posInT2;
     1201    if ( (!rField_is_Ring(currRing)) || (rHasGlobalOrdering(currRing)))
     1202    {
     1203      strat->posInT = posInT2;
    12051204      reorderT(strat);
    1206       }
     1205    }
    12071206#endif
    12081207  }
     
    13631362  if (rField_is_Ring(currRing))
    13641363  {
    1365     if(currRing->OrdSgn == -1)
     1364    if(rHasLocalOrMixedOrdering(currRing))
    13661365      {strat->red = redRiloc;}
    13671366    else
     
    21782177#ifdef HAVE_RINGS
    21792178  if (rField_is_Ring(currRing))
    2180     {
    2181     if(currRing->OrdSgn == -1)
     2179  {
     2180    if(rHasLocalOrMixedOrdering(currRing))
    21822181      r=mora(F,Q,NULL,hilb,strat);
    21832182    else
    21842183      r=bba(F,Q,NULL,hilb,strat);
    2185     }
     2184  }
    21862185  else
    21872186#endif
    21882187  {
    2189     if (currRing->OrdSgn==-1)
     2188    if (rHasLocalOrMixedOrdering(currRing))
    21902189    {
    21912190      if (w!=NULL)
     
    23292328#endif
    23302329  {
    2331     if (currRing->OrdSgn==-1)
     2330    if (rHasLocalOrMixedOrdering(currRing))
    23322331    {
    23332332      if (w!=NULL)
     
    24262425  idTest(F);
    24272426#endif
    2428   if (currRing->OrdSgn==-1)
     2427  if (rHasLocalOrMixedOrdering(currRing))
    24292428  {
    24302429    /* error: no local ord yet with shifts */
     
    25522551  }
    25532552  strat->homog=h;
    2554   if (currRing->OrdSgn==-1)
     2553  if (rHasLocalOrMixedOrdering(currRing))
    25552554  {
    25562555    if (w!=NULL)
     
    26472646  poly res;
    26482647
    2649   if (currRing->OrdSgn==-1)
     2648  if (rHasLocalOrMixedOrdering(currRing))
    26502649    res=kNF1(F,Q,pp,strat,lazyReduce);
    26512650  else
     
    27002699  }
    27012700
    2702   if (currRing->OrdSgn==-1)
     2701  if (rHasLocalOrMixedOrdering(currRing))
    27032702    res=kNF1(F,Q,pp,strat,lazyReduce);
    27042703  else
     
    27702769  strat->R           = initR();
    27712770  strat->sevT        = initsevT();
    2772   if (currRing->OrdSgn == -1)   strat->honey = TRUE;
     2771  if (rHasLocalOrMixedOrdering(currRing))   strat->honey = TRUE;
    27732772  initS(tempF, tempQ, strat);
    27742773  if (TEST_OPT_REDSB)
     
    30803079  if(rIsPluralRing(currRing)) return kInterRedOld(F,Q);
    30813080#endif
    3082   if ((currRing->OrdSgn==-1)|| (rField_is_numeric(currRing))
     3081  if ((rHasLocalOrMixedOrdering(currRing))|| (rField_is_numeric(currRing))
    30833082  #ifdef HAVE_RINGS
    30843083  ||(rField_is_Ring(currRing))
Note: See TracChangeset for help on using the changeset viewer.