Changeset 411e158 in git


Ignore:
Timestamp:
Jan 25, 2018, 3:22:45 PM (6 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
3d3ba49f60f1c8b46019e368ea585be912578904f78a8251a066a0c19419c5e042b6b5418a9961c0
Parents:
70d31a71492390ac65814d37e5f62b4e2348df78
Message:
fix: for freegb/shift algebra: force tailRing==currRing
Location:
kernel/GBEngine
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/GBEngine/kstd1.cc

    r70d31a r411e158  
    27872787  {
    27882788    /* error: no local ord yet with shifts */
    2789     WerrorS("No local ordering possible for shifts");
     2789    WerrorS("No local ordering possible for shift algebra");
    27902790    return(NULL);
    27912791  }
  • kernel/GBEngine/kstd2.cc

    r70d31a r411e158  
    40694069
    40704070#ifdef HAVE_TAIL_RING
    4071   kStratInitChangeTailRing(strat);
     4071//  kStratInitChangeTailRing(strat);
     4072   strat->tailRing=currRing;
    40724073#endif
    40734074
     
    43144315      //      enterpairsShift(vw,strat->sl,strat->P.ecart,pos,strat, strat->tl,uptodeg,lV);
    43154316      // posInS only depends on the leading term
    4316       if ((strat->P.t_p!=NULL)&&(currRing!=strat->tailRing))
    4317       {
    4318         // move to currRing:
    4319         // need tp save t_p, as it is in also in T
    4320         pNext(strat->P.p)=strat->p_shallow_copy_delete(
    4321                             p_Copy(pNext(strat->P.p),strat->tailRing),
    4322                             strat->tailRing, currRing,
    4323                             currRing->PolyBin);
    4324         strat->P.t_p=NULL;
    4325       }
    43264317      strat->enterS(strat->P, pos, strat, atR);
    43274318
Note: See TracChangeset for help on using the changeset viewer.