Changeset 3fe3da0 in git for polys/polys-impl.h


Ignore:
Timestamp:
Jun 8, 2010, 11:12:47 AM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '379ec2d037299db64c43fe3550b5ba8fe508dbe5')
Children:
01e7a1d2a92546f79319f8b6368955396525c869
Parents:
e094491d6d4e235085c9dd1be97168a376bb8120
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2010-06-08 11:12:47+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 11:55:02+01:00
Message:
fixed coeff macros
File:
1 edited

Legend:

Unmodified
Added
Removed
  • polys/polys-impl.h

    re09449 r3fe3da0  
    1616 *
    1717 ***************************************************************/
    18 #include <kernel/structs.h>
    19 #include <omalloc/omalloc.h>
     18#include <omalloc.h>
    2019
    2120/***************************************************************
     
    2423 *
    2524 ***************************************************************/
    26 
    27 #ifndef NDEBUG
    28 #define VARS (10)   /*max. number of variables as constant*/
    29 #else
    30 #ifdef __GNUC__
    31 #define VARS (0)
    32 #else
    33 #define VARS (1)
    34 #endif
    35 #endif
    3625
    3726struct  spolyrec
     
    3928  poly      next;           // next needs to be the first field
    4029  number    coef;           // and coef the second --- do not change this !!!
    41   unsigned long exp[VARS];  // make sure that exp is aligned
     30  unsigned long exp[1];     // make sure that exp is aligned
    4231};
    4332#define POLYSIZE (sizeof(poly) + sizeof(number))
Note: See TracChangeset for help on using the changeset viewer.