Changeset 2544e7 in git


Ignore:
Timestamp:
May 11, 2011, 12:22:36 PM (12 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'e442a7529eaef48148a355ea8b0406dbed1d8a55')
Children:
50612e2a61efff5f199e310834c46d4452b2cf8d
Parents:
0276c1a1f7c3742dd420b2f24bb6743dfd05ef4f
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2011-05-11 12:22:36+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:36:02+01:00
Message:
new: ndInit_bigint: no conversion, report error
Location:
libpolys/coeffs
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/gnumpc.cc

    r0276c1 r2544e7  
    386386{
    387387  assume( getCoeffType(n) == ID );
     388  n->cfKillChar = ndKillChar; /* dummy */
    388389
    389390  n->cfDelete  = ngcDelete;
  • libpolys/coeffs/numbers.cc

    r0276c1 r2544e7  
    136136#endif
    137137
     138number  ndInit_bigint(number i, const coeffs dummy, const coeffs dst)
     139{
     140  Werror("no conversion from bigint to this field");
     141  return NULL;
     142}
    138143
    139144static n_coeffType nLastCoeffs=n_Z2m;
     
    171176    n->cfGcd  = ndGcd;
    172177    n->cfLcm  = ndGcd; /* tricky, isn't it ?*/
     178    n->cfInit_bigint = ndInit_bigint;
    173179    //n->cfKillChar = ndKillChar; /* dummy */
    174180    // temp. removed to catch all the coeffs which miss to implement this!
     
    250256    assume(n->cfName!=NULL);
    251257    assume(n->cfInpMult!=NULL);
    252     assume(n->cfInit_bigint!=NULL);
     258    //assume(n->cfInit_bigint!=NULL);
    253259    assume(n->cfCoeffWrite != NULL);
    254260#ifdef LDEBUG
  • libpolys/coeffs/numbers.h

    r0276c1 r2544e7  
    7272void ndKillChar(coeffs);
    7373
     74number  ndInit_bigint(number i, const coeffs dummy, const coeffs dst);
     75
    7476/// Test whether a is a zero divisor in r
    7577/// i.e. not coprime with char. of r
Note: See TracChangeset for help on using the changeset viewer.