Changeset 0a8ee5 in git for kernel/kspoly.cc


Ignore:
Timestamp:
Mar 19, 2010, 3:38:41 PM (14 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
2937222b4a61df047ac996df75f1a6bfe245af2c
Parents:
18871b8b1489681d13f6dadcbc2940b541da2be2
Message:
sca-std optimization

git-svn-id: file:///usr/local/Singular/svn/trunk@12655 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/kspoly.cc

    r18871b r0a8ee5  
    7676    // no exp-bound checking needed
    7777    // (only needed if exp-bound(tailring)<exp-b(currRing))
    78     number c;
    79     if (PR->bucket!=NULL)  nc_kBucketPolyRed(PR->bucket, p2,&c);
     78    if (PR->bucket!=NULL)  nc_kBucketPolyRed(PR->bucket, p2,coef);
    8079    else
    8180    {
    8281      poly _p = (PR->t_p != NULL ? PR->t_p : PR->p);
    8382      assume(_p != NULL);
    84       nc_PolyPolyRed(_p, p2,&c);
     83      nc_PolyPolyRed(_p, p2,coef);
    8584      if (PR->t_p!=NULL) PR->t_p=_p; else PR->p=_p;
    86       PR->pLength=pLength(_p);
    87     }
    88     if (coef!=NULL) *coef=c;
    89     else nDelete(&c);
     85      PR->pLength=0; // usaully not used, GetpLength re-comoutes it if needed
     86    }
    9087    return 0;
    9188  }
Note: See TracChangeset for help on using the changeset viewer.