Changeset f7ac05 in git for Singular/kutil.cc


Ignore:
Timestamp:
Jul 23, 1998, 11:07:04 AM (26 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
Children:
51d0ed6388f48127f8364ae76fdf627c4b8b355f
Parents:
1735b4e423c6efaf7ab69865d8dfb26783f5981f
Message:
 * hannes: fixes for enterid(_,PROC_CMD,TRUE)
            cancelunit also for modules
            (grammar.y kutil.cc polys.h polys1.cc ring.cc ring.h)


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

Legend:

Unmodified
Added
Removed
  • Singular/kutil.cc

    r1735b4e rf7ac05  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: kutil.cc,v 1.23 1998-06-12 10:13:34 Singular Exp $ */
     4/* $Id: kutil.cc,v 1.24 1998-07-23 09:07:00 Singular Exp $ */
    55/*
    66* ABSTRACT: kernel: utils for kStd
     
    132132  poly h;
    133133
    134   if(!pIsVector((*p).p) && ((*p).ecart != 0))
    135   {
     134  if(pIsVector((*p).p))
     135  {
     136    if(!pOneComp((*p).p)) return;
     137  }
     138  if ((*p).ecart != 0)
     139  {
     140    for(i=1;i<=pVariables;i++)
     141    {
     142      if ((pGetExp((*p).p,1)>0) && (rIsPolyVar(i)==TRUE)) return;
     143    }
    136144    h = pNext(((*p).p));
    137145    loop
    138146    {
    139       if (!h)
     147      if (h==NULL)
    140148      {
    141149        pDelete(&(pNext((*p).p)));
     
    31513159          strat->S[i] = redBba(strat->S[i],i-1,strat);
    31523160          if ((strat->ak!=0)&&(strat->S[i]!=NULL))
    3153             strat->S[i]=redQ(strat->S[i],i+1,strat); /*reduce S[i] mod Q*/
     3161            strat->S[i]=redQ(strat->S[i],i+1,strat); /*reduce S[i] mod Q*/
    31543162          if (TEST_OPT_PROT && (pComp(redSi,strat->S[i])!=0))
    31553163          {
     
    38123820      {
    38133821        //if (strat->redTailChange)
    3814           pCleardenom(strat->S[i]);
     3822          pCleardenom(strat->S[i]);
    38153823      }
    38163824      if (TEST_OPT_PROT)
Note: See TracChangeset for help on using the changeset viewer.