Changeset f8362b in git
- Timestamp:
- Feb 4, 2005, 3:33:13 PM (18 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '7725b5cfc1eaf99630826ecc59f559d3b6831c24')
- Children:
- ece273bf86ecd2568558896ab9ce46bd773d7998
- Parents:
- 78dd2b3d0b1cc9d2694b5c5b6307a7b7483596c2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/iparith.cc
r78dd2b rf8362b 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: iparith.cc,v 1.33 4 2005-02-03 16:41:07Singular Exp $ */4 /* $Id: iparith.cc,v 1.335 2005-02-04 14:33:13 Singular Exp $ */ 5 5 6 6 /* … … 1445 1445 static BOOLEAN jjPROC(leftv res, leftv u, leftv v) 1446 1446 { 1447 idrec tmp_proc; 1448 BOOLEAN t=FALSE; 1449 if (u->rtyp!=IDHDL) 1450 { 1451 tmp_proc.id="_auto"; 1452 tmp_proc.typ=IDHDL; 1453 tmp_proc.data.pinf=(procinfo *)u->data; 1454 tmp_proc.ref=1; 1455 u->data=(void *)&tmp_proc; 1456 t=TRUE; 1457 } 1447 1458 #ifdef HAVE_NS 1448 1459 leftv sl; … … 1454 1465 leftv sl = iiMake_proc((idhdl)u->data,v); 1455 1466 #endif /* HAVE_NS */ 1467 if (t) 1468 { 1469 u->rtyp=PROC_CMD; 1470 u->data=(void *)tmp_proc.data.pinf; 1471 } 1456 1472 if (sl==NULL) 1457 1473 { … … 2827 2843 static BOOLEAN jjPROC1(leftv res, leftv u) 2828 2844 { 2829 if ((u->rtyp!=IDHDL) || (u->e!=NULL)) 2830 return TRUE; 2831 #ifdef HAVE_NS 2832 leftv sl = iiMake_proc((idhdl) u->data,u->req_packhdl,NULL); 2833 #else /* HAVE_NS */ 2834 leftv sl = iiMake_proc((idhdl) u->data,NULL); 2835 #endif /* HAVE_NS */ 2836 if (sl==NULL) 2837 { 2838 return TRUE; 2839 } 2840 else 2841 { 2842 memcpy(res,sl,sizeof(sleftv)); 2843 } 2844 return FALSE; 2845 return jjPROC(res,u,NULL); 2845 2846 } 2846 2847 static BOOLEAN jjBAREISS(leftv res, leftv v)
Note: See TracChangeset
for help on using the changeset viewer.