Changeset a9c298 in git for kernel/kspoly.cc


Ignore:
Timestamp:
Nov 20, 2013, 4:54:25 PM (9 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
Children:
0de0509972719531e2a4b51ec9fd0e44a66fd2fd
Parents:
e4014563a82388c4b39dfa37db24cbe159b24a35
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2013-11-20 16:54:25+01:00
git-committer:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2013-11-20 16:54:42+01:00
Message:
format stuff
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/kspoly.cc

    re40145 ra9c298  
    7676  {
    7777    // for the time being: we know currRing==strat->tailRing
    78     // no exp-bound checking needed 
     78    // no exp-bound checking needed
    7979    // (only needed if exp-bound(tailring)<exp-b(currRing))
    8080    if (PR->bucket!=NULL)  nc_kBucketPolyRed(PR->bucket, p2,coef);
    81     else 
     81    else
    8282    {
    8383      poly _p = (PR->t_p != NULL ? PR->t_p : PR->p);
     
    150150    poly qq = p_Shrink(PR->p, currRing->isLPring, currRing);
    151151    PR->Clear(); // does the right things
    152     PR->p = qq; 
     152    PR->p = qq;
    153153    PR->t_p = NULL;
    154154    PR->SetShortExpVector();
    155155  }
    156156#endif
    157  
     157
    158158#if defined(KDEBUG) && defined(TEST_OPT_DEBUG_RED)
    159159  if (TEST_OPT_DEBUG)
     
    202202   * --------------------------------------------
    203203   * if strat->incremental
    204    * Since we are subdividing lower index and 
     204   * Since we are subdividing lower index and
    205205   * current index reductions it is enough to
    206206   * look at the polynomial part of the signature
     
    212212   * Schreyer order
    213213   *
    214    * nevertheless, this different behaviour is 
     214   * nevertheless, this different behaviour is
    215215   * taken care of by is_sigsafe
    216216   * => one reduction procedure can be used for
     
    258258    // signature of fm*p1
    259259    if(sigSafe != 1)
    260     { 
     260    {
    261261      PR->is_redundant = TRUE;
    262262      return 3;
     
    283283  {
    284284    // for the time being: we know currRing==strat->tailRing
    285     // no exp-bound checking needed 
     285    // no exp-bound checking needed
    286286    // (only needed if exp-bound(tailring)<exp-b(currRing))
    287287    if (PR->bucket!=NULL)  nc_kBucketPolyRed(PR->bucket, p2,coef);
    288     else 
     288    else
    289289    {
    290290      poly _p = (PR->t_p != NULL ? PR->t_p : PR->p);
     
    357357    poly qq = p_Shrink(PR->p, currRing->isLPring, currRing);
    358358    PR->Clear(); // does the right things
    359     PR->p = qq; 
     359    PR->p = qq;
    360360    PR->t_p = NULL;
    361361    PR->SetShortExpVector();
     
    485485    poly qq = p_Shrink(Pair->p, currRing->isLPring, currRing);
    486486    Pair->Clear(); // does the right things
    487     Pair->p = qq; 
     487    Pair->p = qq;
    488488    Pair->t_p = NULL;
    489489    Pair->SetShortExpVector();
     
    540540    poly qq = p_Shrink(PR->p, currRing->isLPring, currRing);
    541541    PR->Clear(); // does the right things
    542     PR->p = qq; 
     542    PR->p = qq;
    543543    PR->t_p = NULL;
    544544    PR->SetShortExpVector();
Note: See TracChangeset for help on using the changeset viewer.