Changeset 2e85a1 in git
- Timestamp:
- Dec 14, 2012, 4:50:23 PM (10 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'cdfcdb8287f66bc6070028082cbbc6eff10e609b')
- Children:
- 6bb9d98190052a76f6d3e74e821b63ea531d8124
- Parents:
- 0486a3f557b13057ce2046dfee2f6fabc0dad2ac
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ipshell.cc
r0486a3 r2e85a1 57 57 #include <coeffs/mpr_complex.h> 58 58 #include <coeffs/longrat.h> 59 #include <coeffs/rmodulon.h> 59 60 60 61 #include <numeric/mpr_base.h> … … 5216 5217 //ringtype = 1; // Use Z/2^ch 5217 5218 cf=nInitChar(n_Z2m,(void*)(long)modExponent); 5219 //TODO free modBase -> will be set inside nInitChar 5218 5220 } 5219 5221 else 5220 5222 { 5221 5223 //ringtype = 3; 5222 cf=nInitChar(n_Zpn,(void*)(long)modBase); 5224 ZnmInfo info; 5225 info.base= modBase; 5226 info.exp= modExponent; 5227 cf=nInitChar(n_Znm,(void*) &info); //exponent is missing 5228 //TODO free modBase -> will be set inside nInitChar 5223 5229 } 5224 5230 } … … 5227 5233 { 5228 5234 //ringtype = 2; 5229 const int ch = mpz_get_ui(modBase); 5230 cf=nInitChar(n_Zn,(void*)(long)ch); 5235 ZnmInfo info; 5236 info.base= modBase; 5237 info.exp= modExponent; 5238 cf=nInitChar(n_Zn,(void*) &info); 5239 //TODO free modBase -> will be set inside nInitChar 5231 5240 } 5232 5241 assume( cf != NULL );
Note: See TracChangeset
for help on using the changeset viewer.