Changeset aabd0c2 in git


Ignore:
Timestamp:
Jan 25, 2024, 2:57:21 PM (3 months ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
c50181f805a2fb1a2c525c0048e48d5568f7bcf5
Parents:
bafd599cf3baf0d4ced85ca8a2a7adf327823c43
Message:
handling register/init of julia coeff types
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/numbers.cc

    rbafd59 raabd0c2  
    349349}
    350350
    351 static BOOLEAN ndCoeffIsEqual(const coeffs r, n_coeffType n, void *)
     351static BOOLEAN ndCoeffIsEqual(const coeffs r, n_coeffType n, void *d)
    352352{
    353353  /* test, if r is an instance of nInitCoeffs(n,parameter) */
    354354  /* if parameter is not needed */
    355   return (n==r->type);
     355  return (n==r->type) &&(r->data==d);
    356356}
    357357
     
    625625  else
    626626  {
    627     if (nInitCharTable[n]!=NULL) Print("coeff %d already initialized\n",n);
     627    //if (nInitCharTable[n]!=NULL) Print("coeff %d already initialized\n",n);
    628628    nInitCharTable[n]=p;
    629629    return n;
Note: See TracChangeset for help on using the changeset viewer.