- Timestamp:
- Sep 28, 2011, 5:48:27 PM (13 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- d56ad872d739d42e59b1beb8ccc89be2a204530d
- Parents:
- 32cc7e437ee85bf7d555756eb824eadce50d50c7
- git-author:
- Burcin Erocal <burcin@erocal.org>2011-09-28 17:48:27+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 16:13:41+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ipshell.cc
r32cc7e r85fd90 5025 5025 && ((strcmp(pn->name,"real")==0) || (strcmp(pn->name,"complex")==0))) 5026 5026 { 5027 LongComplexInfo param; 5027 5028 BOOLEAN complex_flag=(strcmp(pn->name,"complex")==0); 5028 5029 const int ch=0; 5029 5030 if ((pn->next!=NULL) && (pn->next->Typ()==INT_CMD)) 5030 5031 { 5031 WarnS("not implemented: size for real/complex");5032 5032 float_len=(int)(long)pn->next->Data(); 5033 5033 float_len2=float_len; … … 5036 5036 { 5037 5037 float_len2=(int)(long)pn->next->Data(); 5038 WarnS("not implemented: size for real/complex");5039 5038 pn=pn->next; 5040 5039 } 5041 5040 } 5042 if ((pn->next==NULL) && complex_flag) 5043 { 5044 pn->next=(leftv)omAlloc0Bin(sleftv_bin); 5045 pn->next->name=omStrDup("i"); 5046 } 5047 else 5048 WarnS("not implemented: name for i (complex)"); 5049 cf=nInitChar(complex_flag ? n_long_C: n_long_R,NULL); 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); 5050 5052 5051 5053 assume( cf != NULL );
Note: See TracChangeset
for help on using the changeset viewer.