Changeset 6d0515d in git for libpolys/polys/ext_fields


Ignore:
Timestamp:
Aug 12, 2016, 11:02:18 AM (8 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
Children:
16120ff86476199d17c69372277e4f74d645bad8
Parents:
75b12a8379e8fdc352f1ced846ad6cb2ee44ec22
Message:
chg: use real values for better readability in assume
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/ext_fields/transext.cc

    r75b12a r6d0515d  
    7777#define ntTest(a) n_Test(a, cf)
    7878
    79 /// Our own type!
    80 static const n_coeffType ID = n_transExt;
    81 
    8279/* polynomial ring in which the numerators and denominators of our
    8380   numbers live */
     
    175172BOOLEAN ntDBTest(number a, const char *f, const int l, const coeffs cf)
    176173{
    177   assume(getCoeffType(cf) == ID);
     174  assume(getCoeffType(cf) == n_transExt);
    178175
    179176  if (IS0(a)) return TRUE;
     
    15941591static BOOLEAN ntCoeffIsEqual(const coeffs cf, n_coeffType n, void * param)
    15951592{
    1596   if (ID != n) return FALSE;
     1593  if (n_transExt != n) return FALSE;
    15971594  TransExtInfo *e = (TransExtInfo *)param;
    15981595  /* for rational function fields we expect the underlying
     
    21072104{
    21082105  /* dst is expected to be a rational function field */
    2109   assume(getCoeffType(dst) == ID);
     2106  assume(getCoeffType(dst) == n_transExt);
    21102107
    21112108  if( src == dst ) return ndCopyMap;
     
    22182215static number ntParameter(const int iParameter, const coeffs cf)
    22192216{
    2220   assume(getCoeffType(cf) == ID);
     2217  assume(getCoeffType(cf) == n_transExt);
    22212218
    22222219  const ring R = cf->extRing;
     
    22412238{
    22422239  ntTest(m);
    2243   assume(getCoeffType(cf) == ID);
     2240  assume(getCoeffType(cf) == n_transExt);
    22442241
    22452242  const ring R = cf->extRing;
     
    22672264{
    22682265  assume(cf != NULL);
    2269   assume(getCoeffType(cf) == ID);
     2266  assume(getCoeffType(cf) == n_transExt);
    22702267  // all coeffs are given by fractions of polynomails over integers!!!
    22712268  // without denominators!!!
     
    23562353{
    23572354  assume(cf != NULL);
    2358   assume(getCoeffType(cf) == ID); // both over Q(a) and Zp(a)!
     2355  assume(getCoeffType(cf) == n_transExt); // both over Q(a) and Zp(a)!
    23592356  // all coeffs are given by fractions of polynomails over integers!!!
    23602357
     
    25492546
    25502547  assume( cf != NULL );
    2551   assume(getCoeffType(cf) == ID);                // coeff type;
     2548  assume(getCoeffType(cf) == n_transExt);                // coeff type;
    25522549
    25532550  ring R = e->r;
Note: See TracChangeset for help on using the changeset viewer.