Changeset 036a5e in git for kernel/GBEngine/kspoly.cc


Ignore:
Timestamp:
Feb 15, 2021, 6:09:41 PM (3 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
897be4e9d0d99f6edc2785f7a335bdde34c0ad73
Parents:
7b5b095ed2434be9e1783ac23414e01c2a75fec4
Message:
new ksReducePoly
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/GBEngine/kspoly.cc

    r7b5b09 r036a5e  
    187187                 poly spNoether,
    188188                 number *coef,
     189                 poly *mon,
    189190                 kStrategy strat)
    190191{
     
    239240#endif
    240241
    241   if (t2==NULL)          // Divisor is just one term, therefore it will
     242  if ((t2==NULL)&&(mon==NULL)) // Divisor is just one term, therefore it will
    242243  {                       // just cancel the leading term
    243244    PR->LmDeleteAndIter();
     
    293294    if (coef != NULL) *coef = n_Init(1, tailRing->cf);
    294295  }
    295 
     296  if(mon!=NULL) *mon=pHead(lm);
    296297
    297298  // and finally,
Note: See TracChangeset for help on using the changeset viewer.