Changeset f7d39b in git for libpolys/polys/simpleideals.h


Ignore:
Timestamp:
Sep 15, 2014, 9:12:38 PM (9 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
4ec0f01d431893a4c0997d2bdfab87cb8d37e03e
Parents:
a4771e1b7535535946d3bd424ce5c97bd0866119
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2014-09-15 21:12:38+02:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2014-09-23 20:08:14+02:00
Message:
Added more general id_TestTail + related cleanup for id_?(Test|Print)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/simpleideals.h

    ra4771e1 rf7d39b  
    6363
    6464#ifdef PDEBUG
    65 void id_DBTest(ideal h1, int level, const char *f,const int l, const ring r);
    66 #define id_Test(A, r) id_DBTest(A, PDEBUG, __FILE__,__LINE__, r)
    67 // #define id_Print(id, r) id_Show(id, r)
     65void id_DBTest(ideal h1, int level, const char *f,const int l, const ring lR, const ring tR );
     66#define id_TestTail(A, lR, tR) id_DBTest(A, PDEBUG, __FILE__,__LINE__, lR, tR)
     67#define id_Test(A, lR) id_DBTest(A, PDEBUG, __FILE__,__LINE__, lR, lR)
    6868#else
    69 #define id_Test(A, r)  do {} while (0)
    70 // #define id_Print(A, r) do {} while (0)
     69#define id_TestTail(A, lR, tR)  do {} while (0)
     70#define id_Test(A, lR) do {} while (0)
    7171#endif
    7272
     
    131131#ifdef PDEBUG
    132132void idShow(const ideal id, const ring lmRing, const ring tailRing, const int debugPrint = 0);
     133#define id_Print(id, lR, tR) idShow(id, lR, tR)
     134#else
     135#define id_Print(A, lR, tR) do {} while (0)
    133136#endif
     137
    134138
    135139
Note: See TracChangeset for help on using the changeset viewer.