Changeset 0c6135 in git for Singular/kstdfac.cc


Ignore:
Timestamp:
Nov 2, 1998, 10:05:43 AM (26 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '38dfc5131670d387a89455159ed1e071997eec94')
Children:
a693ce0179a5c04bc94f843a2c264a12ceac2a86
Parents:
9dfc1bc6ba8cf5acb1a7ae30117ba921fadca819
Message:
*hannes: Print optimized


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

Legend:

Unmodified
Added
Removed
  • Singular/kstdfac.cc

    r9dfc1bc r0c6135  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: kstdfac.cc,v 1.19 1998-06-12 17:41:30 obachman Exp $ */
     4/* $Id: kstdfac.cc,v 1.20 1998-11-02 09:05:39 Singular Exp $ */
    55/*
    66*  ABSTRACT -  Kernel: factorizing alg. of Buchberger
     
    103103      if(i>o->tl)
    104104      {
    105         Print("poly p1 not found in T:");wrp(p);PrintLn();
     105        PrintS("poly p1 not found in T:");wrp(p);PrintLn();
    106106        l[j].p1=pCopy(p);
    107107        break;
     
    122122      if(i>o->tl)
    123123      {
    124         Print("poly p2 not found in T:");wrp(p);PrintLn();
     124        PrintS("poly p2 not found in T:");wrp(p);PrintLn();
    125125        l[j].p2=pCopy(p);
    126126        break;
     
    515515        }
    516516        if (strat->redTailChange)
    517         {
     517        {
    518518          idDelete(&fac);
    519519          fac=singclap_factorize(strat->P.p,NULL,1);
     
    527527          idDelete(&fac_copy);
    528528          fac_copy=idInit(IDELEMS(fac),1);
    529         }
    530         if ((IDELEMS(fac)==1)&&(facdeg==pFDeg(fac->m[0])))
    531         {
    532           pDelete(&(fac->m[0]));
    533           fac->m[0]=strat->P.p;
    534         }
     529        }
     530        if ((IDELEMS(fac)==1)&&(facdeg==pFDeg(fac->m[0])))
     531        {
     532          pDelete(&(fac->m[0]));
     533          fac->m[0]=strat->P.p;
     534        }
    535535      }
    536536      if (strat->P.lcm!=NULL) pFree1(strat->P.lcm);
     
    597597
    598598        //if (n->redTailChange)
    599         //{
    600         //  int pos = n->posInL(n->L,n->Ll,n->P,n);
    601         //  enterL(&n->L,&n->Ll,&n->Lmax,n->P,pos);
    602         //}
    603         //else
    604         {
     599        //{
     600        //  int pos = n->posInL(n->L,n->Ll,n->P,n);
     601        //  enterL(&n->L,&n->Ll,&n->Lmax,n->P,pos);
     602        //}
     603        //else
     604        {
    605605          if (TEST_OPT_DEBUG)
    606606          {
     
    619619            enterTBba(n->P,pos,n);
    620620          }
    621         }
     621        }
    622622
    623623        /* construct D */
     
    665665                  messageSets(n);
    666666                }
    667                 //if (n->Ll >=0) Print("Ll:%d|",n->Ll);
     667                //if (n->Ll >=0) Print("Ll:%d|",n->Ll);
    668668                while (n->Ll >= 0) deleteInL(n->L,&n->Ll,n->Ll,n);
    669                 //if (n->tl >=0) Print("tl:%d|",n->tl);
     669                //if (n->tl >=0) Print("tl:%d|",n->tl);
    670670                while (n->tl >= 0) { pDelete(&n->T[n->tl].p); n->tl--; }
    671671                memset(n->Shdl->m,0,IDELEMS(n->Shdl)*sizeof(poly));
Note: See TracChangeset for help on using the changeset viewer.