Changeset 73a5d1 in git


Ignore:
Timestamp:
Jul 28, 1998, 5:24:07 PM (26 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
e2cd14964ca37fef7cd7dbd1e105f85067f4f1b7
Parents:
e6de21967288df61f015c8067d2e3e86c1c779a7
Message:
*hannes: fixes form degBound in ds case


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

Legend:

Unmodified
Added
Removed
  • Singular/ffields.cc

    re6de219 r73a5d1  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ffields.cc,v 1.14 1998-06-04 17:17:24 Singular Exp $ */
     4/* $Id: ffields.cc,v 1.15 1998-07-28 15:24:05 Singular Exp $ */
    55/*
    66* ABSTRACT: finite fields with a none-prime number of elements (via tables)
     
    309309  nfTest(a);
    310310#endif
     311  if (0 == (int)a) return FALSE;
    311312  return nfM1 == (int)a;
    312313}
  • Singular/kstd1.cc

    re6de219 r73a5d1  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: kstd1.cc,v 1.25 1998-06-29 13:14:29 pohl Exp $ */
     4/* $Id: kstd1.cc,v 1.26 1998-07-28 15:24:06 Singular Exp $ */
    55/*
    66* ABSTRACT:
     
    14511451#endif
    14521452    if (TEST_OPT_DEGBOUND
    1453     && (strat->L[strat->Ll].ecart+pFDeg(strat->L[strat->Ll].p)> Kstd1_deg))
     1453    && (/*strat->L[strat->Ll].ecart+*/
     1454        pFDeg(strat->L[strat->Ll].p)> Kstd1_deg))
    14541455    {
    14551456      /*
    14561457      * stops computation if
    14571458      * - 24 (degBound)
    1458       *   && upper degree is bigger than Kstd1_deg
     1459      *   && degree is bigger than Kstd1_deg
    14591460      */
    1460       while (strat->Ll >= 0) deleteInL(strat->L,&strat->Ll,strat->Ll,strat);
    1461       break;
     1461      do
     1462      {
     1463        deleteInL(strat->L,&strat->Ll,strat->Ll,strat);
     1464        if (TEST_OPT_PROT)
     1465        {
     1466          PrintS("D"); mflush();
     1467        }
     1468      }
     1469      while ((strat->Ll >= 0)
     1470        && (pFDeg(strat->L[strat->Ll].p)> Kstd1_deg));
     1471      if (strat->Ll<0) break;
    14621472    }
    14631473    strat->P = strat->L[strat->Ll];/*- picks the last element from the lazyset L -*/
  • Singular/kutil.cc

    re6de219 r73a5d1  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: kutil.cc,v 1.24 1998-07-23 09:07:00 Singular Exp $ */
     4/* $Id: kutil.cc,v 1.25 1998-07-28 15:24:07 Singular Exp $ */
    55/*
    66* ABSTRACT: kernel: utils for kStd
     
    26412641        }
    26422642        if (TEST_OPT_DEGBOUND
    2643         && (((strat->honey) && (h.ecart+pFDeg(h.p)>Kstd1_deg))
    2644           || ((!(strat->honey)) && (pFDeg(h.p)>Kstd1_deg))))
     2643        && (pFDeg(h.p)>Kstd1_deg))
     2644        //&& (((strat->honey) && (/*h.ecart+*/pFDeg(h.p)>Kstd1_deg))
     2645        //  || ((!(strat->honey)) && (pFDeg(h.p)>Kstd1_deg))))
    26452646          pDelete(&h.p);
    26462647        else
     
    27772778        }
    27782779        if (TEST_OPT_DEGBOUND
    2779         && (((strat->honey) && (h.ecart+pFDeg(h.p)>Kstd1_deg))
    2780           || ((!(strat->honey)) && (pFDeg(h.p)>Kstd1_deg))))
     2780        && (pFDeg(h.p)>Kstd1_deg))
     2781        //&& (((strat->honey) && (/*h.ecart+*/pFDeg(h.p)>Kstd1_deg))
     2782        //  || ((!(strat->honey)) && (pFDeg(h.p)>Kstd1_deg))))
    27812783          pDelete(&h.p);
    27822784        else
     
    28842886      }
    28852887      if (TEST_OPT_DEGBOUND
    2886       && (((strat->honey) && (h.ecart+pFDeg(h.p)>Kstd1_deg))
    2887         || ((!(strat->honey)) && (pFDeg(h.p)>Kstd1_deg))))
     2888      && (pFDeg(h.p)>Kstd1_deg))
     2889      //&& (((strat->honey) && (h.ecart+pFDeg(h.p)>Kstd1_deg))
     2890      //  || ((!(strat->honey)) && (pFDeg(h.p)>Kstd1_deg))))
    28882891        pDelete(&h.p);
    28892892      else
Note: See TracChangeset for help on using the changeset viewer.