Changeset 73a9ffb in git for libpolys/coeffs/rmodulon.cc
- Timestamp:
- May 26, 2011, 10:29:03 AM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 488808e90a9444d2ce5d16be059643fdd2e8629e
- Parents:
- e676cdf123bc41ae953d7fd58106263f5fd02d0c
- git-author:
- Frank Seelisch <seelisch@mathematik.uni-kl.de>2011-05-26 10:29:03+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:36:53+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/coeffs/rmodulon.cc
re676cd r73a9ffb 24 24 #include <string.h> 25 25 26 /// Our Type! 27 static const n_coeffType ID = n_Zn; 28 26 29 extern omBin gmp_nrz_bin; 27 30 … … 45 48 BOOLEAN nrnInitChar (coeffs r, void* p) 46 49 { 47 50 assume( getCoeffType(r) == ID ); 48 51 nrnInitExp((int)(long)(p), r); 49 52 r->ringtype = 2; 50 r->type = n_Zn; 53 54 /* next computation may yield wrong characteristic as r->modNumber 55 is a GMP number */ 56 r->ch = mpz_get_ui(r->modNumber); 51 57 52 58 r->cfInit = nrnInit;
Note: See TracChangeset
for help on using the changeset viewer.