Changeset 08ab82 in git for kernel/kstd2.cc


Ignore:
Timestamp:
Nov 6, 2007, 5:30:20 PM (16 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
894377fe1ce013f6a8373f81afd184a94478f653
Parents:
2cfd742d986a19d4e480155ffdcced30570493ee
Message:
*hannes: OPT_DEBUG


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

Legend:

Unmodified
Added
Removed
  • kernel/kstd2.cc

    r2cfd74 r08ab82  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: kstd2.cc,v 1.55 2007-11-06 12:58:34 Singular Exp $ */
     4/* $Id: kstd2.cc,v 1.56 2007-11-06 16:30:20 Singular Exp $ */
    55/*
    66*  ABSTRACT -  Kernel: alg. of Buchberger
     
    10371037            pNorm(strat->S[j]);
    10381038            //if (TEST_OPT_PROT) { PrintS("n"); mflush(); }
    1039             sl=pSize(strat->S[j]);
    1040           }
     1039            sl=pSize(strat->S[j]);
     1040          }
    10411041          if (!nIsOne(pGetCoeff(strat->S[jj])))
    10421042          {
    10431043            pNorm(strat->S[jj]);
    10441044            //if (TEST_OPT_PROT) { PrintS("n"); mflush(); }
    1045             sll=pSize(strat->S[jj]);
    1046           }
    1047           if (sll<sl)
    1048           {
    1049             if (TEST_OPT_DEBUG) Print("better(S%d:%d -> S%d:%d)\n",j,sl,jj,sll);
     1045            sll=pSize(strat->S[jj]);
     1046          }
     1047          if (sll<sl)
     1048          {
     1049            #ifdef KDEBUG
     1050            if (TEST_OPT_DEBUG) Print("better(S%d:%d -> S%d:%d)\n",j,sl,jj,sll);
     1051            #endif
    10501052            //else if (TEST_OPT_PROT) { PrintS("b"); mflush(); }
    10511053            j=jj;
    10521054            sl=sll;
    1053           }
     1055          }
    10541056        }
    10551057      }
     
    11581160  {
    11591161    if (strat->Ll > lrmax) lrmax =strat->Ll;/*stat.*/
    1160 #ifdef KDEBUG
    1161     loop_count++;
    1162 #ifdef HAVE_RINGS
    1163     if (TEST_OPT_DEBUG) PrintS("--- next step ---\n");
    1164 #endif
    1165     if (TEST_OPT_DEBUG) messageSets(strat);
    1166 #endif
     1162    #ifdef KDEBUG
     1163      loop_count++;
     1164      #ifdef HAVE_RINGS
     1165        if (TEST_OPT_DEBUG) PrintS("--- next step ---\n");
     1166      #endif
     1167      if (TEST_OPT_DEBUG) messageSets(strat);
     1168    #endif
    11671169    if (strat->Ll== 0) strat->interpt=TRUE;
    11681170    if (TEST_OPT_DEGBOUND
Note: See TracChangeset for help on using the changeset viewer.