Changeset 6179c1 in git
- Timestamp:
- Sep 24, 2011, 9:35:59 AM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0604212ebb110535022efecad887940825b97c3f')
- Children:
- 46008c3216d8f61c9ebca33908df859effe9e989
- Parents:
- 4fc80288a76122a5eefe73be2b02b699ff7caf63
- git-author:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2011-09-24 09:35:59+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 16:13:26+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ipshell.cc
r4fc8028 r6179c1 4958 4958 if (pn->Typ()==INT_CMD) 4959 4959 { 4960 constint ch = (int)(long)pn->Data();4960 int ch = (int)(long)pn->Data(); 4961 4961 4962 4962 /* parameter? -------------------------------------------------------*/ … … 4964 4964 4965 4965 if (pn == NULL) // no params!? 4966 cf = nInitChar(ch==0 ? n_Q : n_Zp, (void*)(long)ch); 4966 { 4967 if (ch!=0) 4968 { 4969 ch=IsPrime(ch); 4970 cf = nInitChar(n_Zp, (void*)(long)ch); 4971 } 4972 else 4973 cf = nInitChar(n_Q, (void*)(long)ch); 4974 } 4967 4975 else 4968 4976 {
Note: See TracChangeset
for help on using the changeset viewer.