Changeset 871f01 in git


Ignore:
Timestamp:
Mar 17, 2011, 12:08:31 PM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
fbb23ba606a10b85b9967f56b46d70c6ed807282
Parents:
3df116abe842435d60d8e8dc559ed7309d4ef38f
Message:
porting:solaris

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

Legend:

Unmodified
Added
Removed
  • kernel/gfan.cc

    r3df116 r871f01  
    924924                }
    925925
    926                 LObject *P = new sLObject();TODO What's the difference between sLObject and LObject?
     926                LObject *P = new sLObject();//TODO What's the difference between sLObject and LObject?
    927927                memset(P,0,sizeof(LObject));
    928928
     
    938938                                if(P->p!=NULL)  spoly non zero=?
    939939                                {
    940                                         poly p;NOTE Don't use pInit here. Evil memleak will follow
     940                                        poly p;//NOTE Don't use pInit here. Evil memleak will follow
    941941                                        poly q;
    942942                                        poly pDel,qDel;
     
    12061206                dd_FreeMatrix(posRestr);
    12071207        }
    1208         Clean up but don't delete the return value!
     1208        //Clean up but don't delete the return value!
    12091209        dd_FreeMatrix(ddineq);
    12101210        set_free(ddredrows);check
     
    16741674        TODO Not sufficient -> vol2 II/125&127
    16751675        NOTE Sufficient according to cddlibs doc. These ARE rays
    1676         What the hell... let's just take interior points
     1676        //What the hell... let's just take interior points
    16771677        if(gcone::hasHomInput==FALSE)
    16781678        {
     
    18371837        ideal srcRing_HH;
    18381838        srcRing_H=idrCopyR(H,tmpRing);
    1839         H is needed further below, so don't idDelete here
     1839        //H is needed further below, so don't idDelete here
    18401840        srcRing_HH=ffG(srcRing_H,this->gcBasis);
    18411841        idDelete(&srcRing_H);
     
    18591859        for (int ii=0;ii<IDELEMS(srcRing_HH);ii++)
    18601860        {
    1861                 poly aktpoly=(poly)srcRing_HH->m[ii];This is a pointer, so don't pDelete
     1861                poly aktpoly=(poly)srcRing_HH->m[ii];//This is a pointer, so don't pDelete
    18621862                iPMatrixRows = iPMatrixRows+pLength(aktpoly);
    18631863        }
     
    18711871        {
    18721872                markingsAreCorrect=FALSE;       crucial to initialise here
    1873                 poly aktpoly=srcRing_HH->m[ii]; Only a pointer, so don't pDelete
     1873                poly aktpoly=srcRing_HH->m[ii]; //Only a pointer, so don't pDelete
    18741874                /*Comparison of leading monomials is done via exponent vectors*/
    18751875                for (int jj=0;jj<IDELEMS(H);jj++)
     
    19651965                dd_set_si(intPointMatrix->matrix[aktrow][jj],1);
    19661966        }
    1967         Let's make sure we compute interior points from the positive orthant
     1967        //Let's make sure we compute interior points from the positive orthant
    19681968        dd_MatrixPtr posRestr=dd_CreateMatrix(this->numVars,this->numVars+1);
    19691969
     
    22092209        ideal srcRing_HH;
    22102210        srcRing_H=idrCopyR(H,tmpRing);
    2211         H is needed further below, so don't idDelete here
     2211        //H is needed further below, so don't idDelete here
    22122212        srcRing_HH=ffG(srcRing_H,this->gcBasis);
    22132213        idDelete(&srcRing_H);
     
    22872287        {
    22882288                poly initialFormElement;
    2289                 poly aktpoly = (poly)gb->m[ii];Ptr, so don't pDelete(aktpoly)
     2289                poly aktpoly = (poly)gb->m[ii];//Ptr, so don't pDelete(aktpoly)
    22902290                int *leadExpV=(int *)omAlloc((this->numVars+1)*sizeof(int));
    22912291                pGetExpV(aktpoly,leadExpV);     find the leading exponent in leadExpV[1],...,leadExpV[n], use pNext(p)
     
    29422942        for(int k=1;k<n;k++)
    29432943        {
    2944                 Let's find a j s.t. m[j][k]!=0 && c[j]=0
     2944                //Let's find a j s.t. m[j][k]!=0 && c[j]=0
    29452945                int condCtr=0;Check each row for zeroness
    29462946                for(int j=1;j<m;j++)
Note: See TracChangeset for help on using the changeset viewer.