Changeset 73f3ca7 in git for Singular/iparith.cc
- Timestamp:
- Sep 19, 2014, 5:36:59 PM (9 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- 0e8dab27bf2f0f78deb06b2627bb3f13ab41e7c5768faf941b632918f43fb7b4b3300abff92ddd97
- Parents:
- 1c5671bf0ac80d11a9c67730f239e645e50482de
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/iparith.cc
r1c5671 r73f3ca7 7931 7931 * then alphabetically */ 7932 7932 7933 BOOLEAN iiExprArith1Tab(leftv res, leftv a, int op, struct sValCmd1* dArith1, int i )7933 BOOLEAN iiExprArith1Tab(leftv res, leftv a, int op, struct sValCmd1* dArith1, int i, int at, struct sConvertTypes *dConvertTypes) 7934 7934 { 7935 7935 memset(res,0,sizeof(sleftv)); … … 7939 7939 { 7940 7940 BOOLEAN failed=FALSE; 7941 int at=a->Typ();7942 7941 iiOp=op; 7943 7942 int ti = i; … … 7977 7976 int ai; 7978 7977 //Print("test %s\n",Tok2Cmdname(dArith1[i].arg)); 7979 if ((ai=iiTestConvert(at,dArith1[i].arg ))!=0)7978 if ((ai=iiTestConvert(at,dArith1[i].arg,dConvertTypes))!=0) 7980 7979 { 7981 7980 if (currRing!=NULL) … … 7986 7985 Print("call %s(%s)\n",iiTwoOps(op),Tok2Cmdname(dArith1[i].arg)); 7987 7986 res->rtyp=dArith1[i].res; 7988 failed= ((iiConvert(at,dArith1[i].arg,ai,a,an ))7987 failed= ((iiConvert(at,dArith1[i].arg,ai,a,an,dConvertTypes)) 7989 7988 || (call_failed=dArith1[i].p(res,an))); 7990 7989 // everything done, clean up temp. variables … … 8082 8081 iiOp=op; 8083 8082 int i=iiTabIndex(dArithTab1,JJTAB1LEN,op); 8084 return iiExprArith1Tab(res,a,op, dArith1, i );8083 return iiExprArith1Tab(res,a,op, dArith1, i,at,dConvertTypes); 8085 8084 } 8086 8085 a->CleanUp();
Note: See TracChangeset
for help on using the changeset viewer.