Changeset 09123d in git
- Timestamp:
- Dec 11, 2006, 2:14:43 PM (16 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a657104b677b4c461d018cbf3204d72d34ad66a9')
- Children:
- 428906ed82f492718d68a350f58015629da94156
- Parents:
- b70e541cf9b24785ba6107432a7f82b67ac6e61c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/iparith.cc
rb70e54 r09123d 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: iparith.cc,v 1.42 1 2006-12-09 14:24:14Singular Exp $ */4 /* $Id: iparith.cc,v 1.422 2006-12-11 13:14:43 Singular Exp $ */ 5 5 6 6 /* … … 1617 1617 memcpy(u->next,v,sizeof(sleftv)); 1618 1618 BOOLEAN r=iiExprArithM(res,u,iiOp); 1619 v->Init(); 1619 1620 // iiExprArithM did the CleanUp 1620 1621 return r; … … 5030 5031 memcpy(u->next->next,w,sizeof(sleftv)); 5031 5032 BOOLEAN r=iiExprArithM(res,u,iiOp); 5033 v->Init(); 5034 w->Init(); 5035 //w->rtyp=0; w->data=NULL; 5032 5036 // iiExprArithM did the CleanUp 5033 w->rtyp=0; w->data=NULL;5034 5037 return r; 5035 5038 } … … 7044 7047 command d=(command)omAlloc0Bin(ip_command_bin); 7045 7048 memcpy(&d->arg1,a,sizeof(sleftv)); 7049 //a->Init(); 7046 7050 memcpy(&d->arg2,b,sizeof(sleftv)); 7051 //b->Init(); 7047 7052 d->argc=2; 7048 7053 d->op=op; … … 7223 7228 command d=(command)omAlloc0Bin(ip_command_bin); 7224 7229 memcpy(&d->arg1,a,sizeof(sleftv)); 7230 //a->Init(); 7225 7231 d->op=op; 7226 7232 d->argc=1; … … 7398 7404 command d=(command)omAlloc0Bin(ip_command_bin); 7399 7405 memcpy(&d->arg1,a,sizeof(sleftv)); 7406 //a->Init(); 7400 7407 memcpy(&d->arg2,b,sizeof(sleftv)); 7408 //b->Init(); 7401 7409 memcpy(&d->arg3,c,sizeof(sleftv)); 7410 //c->Init(); 7402 7411 d->op=op; 7403 7412 d->argc=3; … … 7612 7621 case 3: 7613 7622 memcpy(&d->arg3,a->next->next,sizeof(sleftv)); 7614 a->next->next->rtyp=0; 7615 a->next->next->data=NULL; 7616 a->next->next->name=NULL; 7617 a->next->next->attribute=NULL; 7623 a->next->next->Init(); 7618 7624 /* no break */ 7619 7625 case 2: 7620 7626 memcpy(&d->arg2,a->next,sizeof(sleftv)); 7621 a->next->rtyp=0; 7622 a->next->name=NULL; 7623 a->next->data=NULL; 7624 a->next->attribute=NULL; 7627 a->next->Init(); 7628 a->next->next=d->arg2.next; 7625 7629 d->arg2.next=NULL; 7626 7630 /* no break */ 7627 7631 case 1: 7632 a->Init(); 7633 a->next=d->arg1.next; 7628 7634 d->arg1.next=NULL; 7629 7635 } 7630 if (d->argc>3) a->next=NULL; 7636 if (d->argc>3) a->next=NULL; 7637 a->name=NULL; 7631 7638 a->rtyp=0; 7632 7639 a->data=NULL; 7633 a->name=NULL; 7640 a->e=NULL; 7641 a->attribute=NULL; 7634 7642 a->CleanUp(); 7635 7643 }
Note: See TracChangeset
for help on using the changeset viewer.