Changeset 01e7a1d in git for polys


Ignore:
Timestamp:
Jun 8, 2010, 2:30:00 PM (14 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '4a9821a93ffdc22a6696668bd4f6b8c9de3e6c5f')
Children:
c3d17527305d0cf9da8226a23b8fc95f6e3f37d0
Parents:
3fe3da09eab8a6391fc94a35a383eec9d32886d7
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2010-06-08 14:30:00+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 11:55:02+01:00
Message:
typedef poly -> polys-impl.h
Location:
polys
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • polys/pInline1.h

    r3fe3da0 r01e7a1d  
    309309      ev[j] = p_GetExp(p, j, r);
    310310
    311   ev[0] = _p_GetComp(p, r);
     311  ev[0] = p_GetComp(p, r);
    312312}
    313313PINLINE1 void p_SetExpV(poly p, int *ev, const ring r)
  • polys/polys-impl.h

    r3fe3da0 r01e7a1d  
    1717 ***************************************************************/
    1818#include <omalloc.h>
     19#include <coeffs.h>
    1920
    2021/***************************************************************
     
    3031  unsigned long exp[1];     // make sure that exp is aligned
    3132};
     33typedef struct spolyrec *          poly;
     34
    3235#define POLYSIZE (sizeof(poly) + sizeof(number))
    3336#define POLYSIZEW (POLYSIZE / sizeof(long))
     
    212215
    213216#define __p_GetComp(p, r)   (p)->exp[r->pCompIndex]
    214 #define _p_GetComp(p, r)    ((long) (r->pCompIndex >= 0 ? __p_GetComp(p, r) : 0))
     217#define p_GetComp(p, r)    ((long) (r->pCompIndex >= 0 ? __p_GetComp(p, r) : 0))
    215218
    216219/***************************************************************
Note: See TracChangeset for help on using the changeset viewer.