Changeset 2aee66 in git for libpolys/coeffs/rmodulon.cc
- Timestamp:
- Jan 18, 2013, 3:20:20 PM (11 years ago)
- Branches:
- (u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
- Children:
- e6c3d1d6650b98221c24b2534d58726bcbded950
- Parents:
- 2700bdee638e6b68b5244f3aa4024a608640300766ce6d056b2a8c18bd7550a540062499c4ded53b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/coeffs/rmodulon.cc
r2700bd r2aee66 55 55 nrnInitExp (info->exp, r); 56 56 57 if (info->exp > 1)58 r->ringtype= 3;59 else60 r->ringtype= 2;61 57 /* next computation may yield wrong characteristic as r->modNumber 62 58 is a GMP number */ … … 508 504 nCoeff_is_Ring_2toM(src) || nCoeff_is_Zp(src)) 509 505 { 510 if ( ( src->ringtype > 0)506 if ( (!nCoeff_is_Zp(src)) 511 507 && (mpz_cmp(src->modBase, dst->modBase) == 0) 512 508 && (src->modExponent == dst->modExponent)) return nrnMapGMP;
Note: See TracChangeset
for help on using the changeset viewer.