Changeset 2bb676 in git


Ignore:
Timestamp:
Nov 18, 1999, 2:07:54 PM (24 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
e3acb58ef7e10eaf59a50b0858ca2a00c754452b
Parents:
39093f3d4e130d840bd586936f5292d5a64a48f9
Message:
* fixed factorizing groebner


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

Legend:

Unmodified
Added
Removed
  • Singular/kstdfac.cc

    r39093f r2bb676  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: kstdfac.cc,v 1.31 1999-11-17 12:09:25 obachman Exp $ */
     4/* $Id: kstdfac.cc,v 1.32 1999-11-18 13:07:53 obachman Exp $ */
    55/*
    66*  ABSTRACT -  Kernel: factorizing alg. of Buchberger
     
    319319      enterpairs(n->P.p,n->sl,n->P.ecart,pos,n);
    320320      n->enterS(n->P,pos,n);
    321 
    322       /* enter P.p into T */
    323       if ((IDELEMS(fac)>1)||(facdeg!=pFDeg(fac->m[0])))
    324       {
    325         int pos=n->posInT(n->T,n->tl,n->P);
    326         enterTBba(n->P,pos,n);
    327       }
     321      enterTBba(n->P,n->posInT(n->T,n->tl,n->P),n);
    328322
    329323      /* construct D */
     
    505499    }
    506500    /* reduction of the element choosen from L */
     501    kTest_TS(strat);
    507502    strat->red(&strat->P,strat);
     503    kTest_TS(strat);
    508504    if (strat->P.p != NULL)
    509505    {
     
    600596        }
    601597
    602         //if (n->redTailChange)
    603         //{
    604         //  int pos = n->posInL(n->L,n->Ll,n->P,n);
    605         //  enterL(&n->L,&n->Ll,&n->Lmax,n->P,pos);
    606         //}
    607         //else
    608         {
    609           if (TEST_OPT_DEBUG)
    610           {
    611             PrintS("new s:");
    612             wrp(n->P.p);
    613             PrintLn();
    614           }
    615           enterpairs(n->P.p,n->sl,n->P.ecart,pos,n);
    616           n->enterS(n->P,pos,n);
    617           if (n->sl>srmax) srmax = n->sl;
    618 
    619           /* enter P.p into T */
    620           if ((IDELEMS(fac)>1)||(facdeg!=pFDeg(fac->m[0])))
    621           {
    622             int pos=n->posInT(n->T,n->tl,n->P);
    623             enterTBba(n->P,pos,n);
    624           }
    625         }
     598        if (TEST_OPT_DEBUG)
     599        {
     600          PrintS("new s:");
     601          wrp(n->P.p);
     602          PrintLn();
     603        }
     604        enterpairs(n->P.p,n->sl,n->P.ecart,pos,n);
     605        n->enterS(n->P,pos,n);
     606        if (n->sl>srmax) srmax = n->sl;
     607        enterTBba(n->P,n->posInT(n->T,n->tl,n->P),n);
    626608
    627609        /* construct D */
  • Singular/mmisc.c

    r39093f r2bb676  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: mmisc.c,v 1.22 1999-11-15 17:20:25 obachman Exp $ */
     4/* $Id: mmisc.c,v 1.23 1999-11-18 13:07:54 obachman Exp $ */
    55
    66/*
     
    8888      fprintf(stderr, "Warning: mmUngetSpecHeap: heap not previously gotten with mmGetSpecHeap\n");
    8989#else
    90       feReportBug("SpecHeap memory managment");
     90//      feReportBug("SpecHeap memory managment");
    9191#endif
    9292      return;
Note: See TracChangeset for help on using the changeset viewer.