Changeset 5151ac in git


Ignore:
Timestamp:
Mar 8, 2010, 8:33:55 AM (13 years ago)
Author:
Martin Monerjan
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
231da194e531aacb54bc0117d0f14014350c9ec0
Parents:
68eb0c8d18a1ee13e4689c0a5cd5725922064e54
Message:
gcone::numVars now static


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

Legend:

Unmodified
Added
Removed
  • kernel/gfan.cc

    r68eb0c r5151ac  
    43544354unsigned gcone::numberOfFacetChecks=0;
    43554355#endif
     4356int gcone::numVars;
    43564357bool gcone::hasHomInput=FALSE;
    43574358// ideal gfan(ideal inputIdeal, int h)
     
    43624363        if(rHasGlobalOrdering(currRing))
    43634364        {       
    4364                 int numvar = pVariables;
     4365//              int numvar = pVariables;
    43654366                gfanHeuristic = h;
    43664367               
     
    43824383                        gcone *gcAct;
    43834384                        gcAct = gcRoot;
    4384                         gcAct->numVars=pVariables;
     4385                        gcone::numVars=pVariables;
     4386//                      gcAct->numVars=pVariables;//NOTE is now static
    43854387                        gcAct->getGB(inputIdeal);
    43864388                        /*Check whether input is homogeneous
  • kernel/gfan.h

    r68eb0c r5151ac  
    174174                static bool hasHomInput;
    175175                /** # of variables in the ring */
    176                 int numVars;            //#of variables in the ring
     176                static int numVars;             //#of variables in the ring
    177177                /** The hilbert function - for the homogeneous case*/
    178178                static intvec *hilbertFunction;
Note: See TracChangeset for help on using the changeset viewer.