Changeset 2544e7 in git for libpolys/coeffs/numbers.cc


Ignore:
Timestamp:
May 11, 2011, 12:22:36 PM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
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
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.