Changeset 87cb4d5 in git


Ignore:
Timestamp:
Apr 28, 2010, 1:20:27 AM (13 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
b9e1afcd38a342c3ff581149bc2dc4658e5fcd13
Parents:
655a2976d656bc7749e136dea00a5bb75c14a0b4
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2010-04-28 01:20:27+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 11:49:00+01:00
Message:
Trying to compile coeffs by fooling it. Undefine _TRY later on!
Location:
coeffs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • coeffs/coeffs.h

    r655a29 r87cb4d5  
    7979typedef struct  n_Procs_s  *coeffs;
    8080
     81
     82
    8183struct snumber;
    8284typedef struct snumber *   number;
     
    8486typedef number (*nMapFunc)(number a, const coeffs r);
    8587
     88#define _TRY
     89
     90#ifdef _TRY
     91typedef coeffs ring;
     92
     93extern ring currRing;
     94#endif
     95
    8696struct n_Procs_s
    8797{
     98#ifdef _TRY
     99  ring cf; // this
     100#endif
     101
    88102   coeffs next;
    89103   // the union stuff
  • coeffs/numbers.h

    r655a29 r87cb4d5  
    105105#endif
    106106
     107
     108#ifdef _TRY
     109#ifndef ABS
     110#define ABS(x) ((x)<0?(-(x)):(x))
     111#endif
     112#endif
     113
     114
     115
    107116#ifdef HAVE_RINGS
    108117static inline BOOLEAN nField_is_Zp(const coeffs r)
Note: See TracChangeset for help on using the changeset viewer.