Changeset e25d25 in git for Singular/iparith.cc


Ignore:
Timestamp:
Sep 8, 1998, 4:24:42 PM (25 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'a7324b6e0b44a1a8ed3fa4d9ca3e2ff210ddd52c')
Children:
225677eaadbf609a3f4c3c50f52112bbd8056a24
Parents:
48340025f0275e744df1383402a93b3605734ae8
Message:
* hannes: modified leadexp for vectors


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

Legend:

Unmodified
Added
Removed
  • Singular/iparith.cc

    r483400 re25d25  
    25352535{
    25362536  poly p=(poly)v->Data();
    2537   intvec *iv=new intvec(pVariables);
     2537  int s=pVariables;
     2538  if (v->Typ()==VECTOR_CMD) s++;
     2539  intvec *iv=new intvec(s);
    25382540  if (p!=NULL)
    25392541  {
     
    25422544      (*iv)[i-1]=pGetExp(p,i);
    25432545    }
     2546    if (s!=pVariables)
     2547      (*iv)[pVariables]=pGetComp(p);
    25442548  }
    25452549  res->data=(char *)iv;
Note: See TracChangeset for help on using the changeset viewer.