Changeset 0188fa in git for kernel/kstd2.cc


Ignore:
Timestamp:
Oct 17, 2005, 3:42:48 PM (19 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '4a9821a93ffdc22a6696668bd4f6b8c9de3e6c5f')
Children:
195f96215e3e17711e649a2202a3543c7da5941b
Parents:
6bcdc538f3a2a3a6959729eb745a2f09e043715f
Message:
*hannes: some lazy red stuf


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

Legend:

Unmodified
Added
Removed
  • kernel/kstd2.cc

    r6bcdc53 r0188fa  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: kstd2.cc,v 1.2 2005-02-17 09:42:20 Singular Exp $ */
     4/* $Id: kstd2.cc,v 1.3 2005-10-17 13:42:48 Singular Exp $ */
    55/*
    66*  ABSTRACT -  Kernel: alg. of Buchberger
     
    120120#endif
    121121  int j;
     122  int pass = 0;
    122123  loop
    123124  {
     
    149150#endif
    150151      return 0;
     152    }
     153    if (!K_TEST_OPT_REDTHROUGH &&
     154        (strat->Ll >= 0) && (pass > strat->LazyPass))
     155    {
     156      h->SetLmCurrRing();
     157      int at = strat->posInL(strat->L,strat->Ll,h,strat);
     158      if (at <= strat->Ll)
     159      {
     160#ifdef KDEBUG
     161        if (TEST_OPT_DEBUG) Print(" ->L[%d]\n",at);
     162#endif
     163        enterL(&strat->L,&strat->Ll,&strat->Lmax,*h,at);
     164        h->Clear();
     165        return -1;
     166      }
    151167    }
    152168  }
     
    210226    {
    211227      h->SetLmCurrRing();
    212       at = posInL11(strat->L,strat->Ll,h,strat);
     228      at = strat->posInL(strat->L,strat->Ll,h,strat);
    213229      if (at <= strat->Ll)
    214230      {
     231#if 0
    215232        if (kFindDivisibleByInS(strat->S, strat->sevS, strat->sl, h) < 0)
    216233          return 1;
     234#endif
    217235#ifdef KDEBUG
    218236        if (TEST_OPT_DEBUG) Print(" ->L[%d]\n",at);
Note: See TracChangeset for help on using the changeset viewer.