Changeset 1a20e5 in git


Ignore:
Timestamp:
Sep 8, 2011, 9:04:15 PM (13 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', '52dcfddee5ec87d404d5e0fb44f2d627608208f1')
Children:
7e6bfe4dfd3d23ed105e01efcc0429e77ab42915
Parents:
1450c9e719fe8c5b3cefb712a0bb457fdd4c2776
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-09-08 21:04:15+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 16:12:36+01:00
Message:
FIX: p[_]?TakeOutComp*
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/polys.h

    r1450c9 r1a20e5  
    307307// component == comp and *p of all other monoms *lq == pLength(*q)
    308308// On return all components pf *q == 0
    309 void pTakeOutComp(poly *p, long comp, poly *q, int *lq);
     309inline void pTakeOutComp(poly *p, long comp, poly *q, int *lq, const ring R = currRing)
     310{
     311  return p_TakeOutComp(p, comp, q, lq, R);
     312}
     313
    310314
    311315// This is something weird -- Don't use it, unless you know what you are doing
    312 poly      pTakeOutComp(poly * p, int k);
     316inline poly      pTakeOutComp(poly * p, int k, const ring R = currRing)
     317{
     318  return p_TakeOutComp(p, k, R);
     319}
     320
    313321/* old spielwiese
    314322#define   pTakeOutComp(p,k,q,lq)    p_TakeOutComp(p,k,q,lq,currRing)
  • libpolys/polys/monomials/p_polys.h

    r1450c9 r1a20e5  
    18821882
    18831883// This is something weird -- Don't use it, unless you know what you are doing
    1884 poly      p_TakeOutComp(poly * p, int k);
     1884poly      p_TakeOutComp(poly * p, int k, const ring r);
    18851885
    18861886void      p_DeleteComp(poly * p,int k, const ring r);
Note: See TracChangeset for help on using the changeset viewer.