Changeset 046a94 in git
- Timestamp:
- Sep 28, 2011, 7:08:54 PM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0604212ebb110535022efecad887940825b97c3f')
- Children:
- 733d247ce0bb53a600a9565cc20a019df1de9856
- Parents:
- d0340f40c4bd9c7fbfd9dc6788a900be9d21a13b
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-09-28 19:08:54+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 16:13:42+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ipshell.cc
rd0340f r046a94 5025 5025 && ((strcmp(pn->name,"real")==0) || (strcmp(pn->name,"complex")==0))) 5026 5026 { 5027 LongComplexInfo param;5028 5027 BOOLEAN complex_flag=(strcmp(pn->name,"complex")==0); 5029 5028 const int ch=0; … … 5039 5038 } 5040 5039 } 5041 // set the parameter name 5042 if (complex_flag) { 5043 if (pn->next == NULL) 5044 param.par_name=(const char*)"i"; //default to i 5045 else 5046 param.par_name = (const char*)pn->next->name; 5047 } 5048 5049 param.float_len = float_len; 5050 param.float_len2 = float_len2; 5051 cf=nInitChar(complex_flag ? n_long_C: n_long_R, (void*)¶m); 5052 5040 assume( float_len <= float_len2 ); 5041 5042 if( !complex_flag && (float_len2 <= (short)SHORT_REAL_LENGTH) ) 5043 cf=nInitChar(n_R, NULL); 5044 else // longR or longC? 5045 { 5046 LongComplexInfo param; 5047 5048 param.float_len = float_len; 5049 param.float_len2 = float_len2; 5050 5051 // set the parameter name 5052 if (complex_flag) { 5053 if (pn->next == NULL) 5054 param.par_name=(const char*)"i"; //default to i 5055 else 5056 param.par_name = (const char*)pn->next->name; 5057 } 5058 5059 cf = nInitChar(complex_flag ? n_long_C: n_long_R, (void*)¶m); 5060 } 5053 5061 assume( cf != NULL ); 5054 5062 }
Note: See TracChangeset
for help on using the changeset viewer.