Changeset c17211 in git


Ignore:
Timestamp:
Jul 21, 2009, 5:56:28 PM (14 years ago)
Author:
Martin Monerjan
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
398e356af90a233e52f0e75963d68f0926efab9c
Parents:
68cb55508d2c7851e1de7a118d6c72884ad79ce4
Message:
bugfixes


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

Legend:

Unmodified
Added
Removed
  • kernel/gfan.cc

    r68cb555 rc17211  
    22Compute the Groebner fan of an ideal
    33$Author: monerjan $
    4 $Date: 2009-07-20 12:39:26 $
    5 $Header: /exports/cvsroot-2/cvsroot/kernel/gfan.cc,v 1.78 2009-07-20 12:39:26 monerjan Exp $
    6 $Id: gfan.cc,v 1.78 2009-07-20 12:39:26 monerjan Exp $
     4$Date: 2009-07-21 15:56:28 $
     5$Header: /exports/cvsroot-2/cvsroot/kernel/gfan.cc,v 1.79 2009-07-21 15:56:28 monerjan Exp $
     6$Id: gfan.cc,v 1.79 2009-07-21 15:56:28 monerjan Exp $
    77*/
    88
     
    5454
    5555#ifndef gfan_DEBUG
    56 //#define gfan_DEBUG
     56#define gfan_DEBUG
    5757#endif
    5858
     
    11911191                        f->flipRing=rCopy(dstRing);     //store the ring on the other side
    11921192//#ifdef gfan_DEBUG
    1193                         cout << "Flipped GB is: " << endl;
     1193                        cout << "Flipped GB is UCN " << counter+1 << ":" << endl;
    11941194                        f->printFlipGB();
    11951195                        cout << endl;
     
    12761276                        {
    12771277                                res->m[ii]=restOfDiv(H->m[ii],G);
    1278                                 //res->m[ii]=kNF(H->m[ii],G);
     1278                                //res->m[ii]=kNF(G, NULL,H->m[ii]);
    12791279                                temp1=H->m[ii];
    12801280                                temp2=res->m[ii];                               
     
    19151915                        for (int ii=0;ii<(M->colsize)-1;ii++)
    19161916                        {
    1917                                 mpz_lcm(kgV,tmp,denom[ii]);                             
     1917                                mpz_lcm(kgV,tmp,denom[ii]);
     1918                                mpz_set(tmp,kgV);                               
    19181919                        }
    19191920                       
     
    20822083                                                                removalOccured=TRUE;
    20832084                                                                slAct->isFlippable=FALSE;
     2085                                                                doNotAdd=TRUE;
    20842086                                                                if(slAct==slHead)       //We want to delete the first element of SearchList
    20852087                                                                {                                                               
     
    21072109                                                                {
    21082110                                                                        slAct->prev->next = slAct->next;
     2111                                                                        slAct->next->prev = slAct->prev;
    21092112                                                                }
    21102113                                                                //update lengthOfSearchList                                     
     
    21152118                                                        {
    21162119                                                                doNotAdd=FALSE;
    2117                                                                 break;
     2120                                                                //break;
    21182121                                                        }
    21192122                                                }//if(!isParallel(fNormal, slNormal))
Note: See TracChangeset for help on using the changeset viewer.