Changeset 70b3ae in git for Singular/ipshell.cc
- Timestamp:
- Nov 8, 2013, 5:22:35 PM (9 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
- Children:
- 85d15b1ccdb95aa5a0dab7c7a66ad09cfd7631ed
- Parents:
- abb12f44bb1ce32fc8fa27a5f627543824466fce
- git-author:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2013-11-08 17:22:35+01:00
- git-committer:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2013-11-08 17:41:31+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ipshell.cc
rabb12f r70b3ae 5069 5069 if (ch!=0) 5070 5070 { 5071 if (ch<2) 5071 int ch2=IsPrime(ch); 5072 if ((ch<2)||(ch!=ch2)) 5072 5073 { 5073 Warn("%d is invalid characteristic ofground field. 32003 is used.", ch);5074 Warn("%d is invalid as characteristic of the ground field. 32003 is used.", ch); 5074 5075 ch=32003; 5075 5076 } 5076 ch=IsPrime(ch);5077 5077 cf = nInitChar(n_Zp, (void*)(long)ch); 5078 5078 } … … 5230 5230 else 5231 5231 { 5232 if (mpz_cmp_ui(modBase,0)==0) 5233 { 5234 WerrorS("modulus must not be 0"); 5235 goto rInitError; 5236 } 5232 5237 //ringtype = 3; 5233 5238 ZnmInfo info; … … 5240 5245 else if (cf == NULL) 5241 5246 { 5247 if (mpz_cmp_ui(modBase,0)==0) 5248 { 5249 WerrorS("modulus must not be 0"); 5250 goto rInitError; 5251 } 5242 5252 //ringtype = 2; 5243 5253 ZnmInfo info;
Note: See TracChangeset
for help on using the changeset viewer.