Changeset 883eacf in git


Ignore:
Timestamp:
Jun 1, 2010, 3:04:51 PM (14 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
fe4bc7dbb3af0c3e854c0af71905892f47159468
Parents:
deb65390f406822451673902ed9d7f073d8deb1d
Message:
fix indepSet(0,1)

git-svn-id: file:///usr/local/Singular/svn/trunk@12839 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
Singular
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Singular/iparith.cc

    rdeb653 r883eacf  
    516516    intvec *vv=new intvec(l);
    517517    int i;
    518     for(i=0;i<l;i++) { (*vv)[i]=d; }
     518    for(i=l-1;i>=0;i--) { (*vv)[i]=d; }
    519519    res->data=(char *)vv;
    520520  }
  • Singular/ipshell.cc

    rdeb653 r883eacf  
    975975
    976976  hexist = hInit(S, Q, &hNexist);
    977   if ((hNexist == 0) || (hisModule!=0))
     977  if (hNexist == 0)
     978  {
     979    intvec *iv=new intvec(pVariables);
     980    for(i=0; i<pVariables; i++) (*iv)[i]=1;
     981    res->Init(1);
     982    res->m[0].rtyp=INTVEC_CMD;
     983    res->m[0].data=(intvec*)iv;
     984    return res;
     985  }
     986  else if (hisModule!=0)
    978987  {
    979988    res->Init(0);
Note: See TracChangeset for help on using the changeset viewer.