Changeset 09123d in git


Ignore:
Timestamp:
Dec 11, 2006, 2:14:43 PM (17 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
428906ed82f492718d68a350f58015629da94156
Parents:
b70e541cf9b24785ba6107432a7f82b67ac6e61c
Message:
*hannes: define sleftv


git-svn-id: file:///usr/local/Singular/svn/trunk@9570 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/iparith.cc

    rb70e54 r09123d  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: iparith.cc,v 1.421 2006-12-09 14:24:14 Singular Exp $ */
     4/* $Id: iparith.cc,v 1.422 2006-12-11 13:14:43 Singular Exp $ */
    55
    66/*
     
    16171617  memcpy(u->next,v,sizeof(sleftv));
    16181618  BOOLEAN r=iiExprArithM(res,u,iiOp);
     1619  v->Init();
    16191620  // iiExprArithM did the CleanUp
    16201621  return r;
     
    50305031  memcpy(u->next->next,w,sizeof(sleftv));
    50315032  BOOLEAN r=iiExprArithM(res,u,iiOp);
     5033  v->Init();
     5034  w->Init();
     5035  //w->rtyp=0; w->data=NULL;
    50325036  // iiExprArithM did the CleanUp
    5033   w->rtyp=0; w->data=NULL;
    50345037  return r;
    50355038}
     
    70447047      command d=(command)omAlloc0Bin(ip_command_bin);
    70457048      memcpy(&d->arg1,a,sizeof(sleftv));
     7049      //a->Init();
    70467050      memcpy(&d->arg2,b,sizeof(sleftv));
     7051      //b->Init();
    70477052      d->argc=2;
    70487053      d->op=op;
     
    72237228      command d=(command)omAlloc0Bin(ip_command_bin);
    72247229      memcpy(&d->arg1,a,sizeof(sleftv));
     7230      //a->Init();
    72257231      d->op=op;
    72267232      d->argc=1;
     
    73987404      command d=(command)omAlloc0Bin(ip_command_bin);
    73997405      memcpy(&d->arg1,a,sizeof(sleftv));
     7406      //a->Init();
    74007407      memcpy(&d->arg2,b,sizeof(sleftv));
     7408      //b->Init();
    74017409      memcpy(&d->arg3,c,sizeof(sleftv));
     7410      //c->Init();
    74027411      d->op=op;
    74037412      d->argc=3;
     
    76127621          case 3:
    76137622            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();
    76187624            /* no break */
    76197625          case 2:
    76207626            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;
    76257629            d->arg2.next=NULL;
    76267630            /* no break */
    76277631          case 1:
     7632            a->Init();
     7633            a->next=d->arg1.next;
    76287634            d->arg1.next=NULL;
    76297635        }
    7630         if (d->argc>3) a->next=NULL;
     7636        if (d->argc>3) a->next=NULL;
     7637        a->name=NULL;
    76317638        a->rtyp=0;
    76327639        a->data=NULL;
    7633         a->name=NULL;
     7640        a->e=NULL;
     7641        a->attribute=NULL;
    76347642        a->CleanUp();
    76357643      }
Note: See TracChangeset for help on using the changeset viewer.