Changeset a2da9e in git for Singular/ipshell.cc
- Timestamp:
- Nov 9, 2012, 4:10:10 PM (11 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0604212ebb110535022efecad887940825b97c3f')
- Children:
- 6ad7e617261f153fdb030cff36bad4f1639b95e9
- Parents:
- 6ac003ed46c225e8782cb5a59e16ba27d4502496
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ipshell.cc
r6ac003 ra2da9e 5044 5044 { 5045 5045 #ifdef HAVE_RINGS 5046 unsigned int ringtype = 0;5046 //unsigned int ringtype = 0; 5047 5047 int_number modBase = NULL; 5048 5048 unsigned int modExponent = 1; … … 5212 5212 /* this branch should be active for modExponent = 2..32 resp. 2..64, 5213 5213 depending on the size of a long on the respective platform */ 5214 ringtype = 1; // Use Z/2^ch5214 //ringtype = 1; // Use Z/2^ch 5215 5215 cf=nInitChar(n_Z2m,(void*)(long)modExponent); 5216 5216 } 5217 5217 else 5218 5218 { 5219 ringtype = 3;5220 cf=nInitChar(n_Z n,(void*)(long)modBase);5219 //ringtype = 3; 5220 cf=nInitChar(n_Zpn,(void*)(long)modBase); 5221 5221 } 5222 5222 } … … 5224 5224 else if (cf == NULL) 5225 5225 { 5226 ringtype = 2;5226 //ringtype = 2; 5227 5227 const int ch = mpz_get_ui(modBase); 5228 5228 cf=nInitChar(n_Zn,(void*)(long)ch); … … 5287 5287 R->cf = cf; 5288 5288 5289 #ifdef HAVE_RINGS5290 // the following should have beed set already into cf, right?!5291 // R->cf->ringtype = ringtype;5292 // R->cf->modBase = modBase;5293 // R->cf->modExponent = modExponent;5294 #endif5295 5296 5289 /* names and number of variables-------------------------------------*/ 5297 5290 {
Note: See TracChangeset
for help on using the changeset viewer.