Changeset a2da9e in git for libpolys/coeffs/rmodulon.cc


Ignore:
Timestamp:
Nov 9, 2012, 4:10:10 PM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
Children:
6ad7e617261f153fdb030cff36bad4f1639b95e9
Parents:
6ac003ed46c225e8782cb5a59e16ba27d4502496
Message:
fix: init of coeffs in rings
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/rmodulon.cc

    r6ac003 ra2da9e  
    4040{
    4141  /* test, if r is an instance of nInitCoeffs(n,parameter) */
    42   return (n==n_Zn) && (mpz_cmp(r->modNumber,(mpz_ptr)parameter)==0);
     42  return (n==n_Zn) && (mpz_cmp_ui(r->modNumber,(long)parameter)==0);
    4343}
    4444
Note: See TracChangeset for help on using the changeset viewer.