Changeset ede2ad8 in git for kernel/GBEngine/kstd2.cc


Ignore:
Timestamp:
Aug 31, 2015, 3:57:59 PM (9 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
fd07781d309b3cc6a9930e69e9c6b97aa93d73a4
Parents:
ef573fff51417c61e82c8176e0679f71fb732c40
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2015-08-31 15:57:59+02:00
git-committer:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2015-08-31 16:01:57+02:00
Message:
fix tr. #712: std(SB,I) does not allow crit3 because of the (wrong) order of reductions

if size(I)*4 > 3*size(SB), use std(SB+I), otherwise disable crit3
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/GBEngine/kstd2.cc

    ref573f rede2ad8  
    12281228#endif
    12291229#ifdef KDEBUG
    1230   if (TEST_OPT_DEBUG)
    1231   {
    1232     PrintS("redNF: starting S: ");
    1233     for( j = 0; j <= max_ind; j++ )
    1234     {
    1235       Print("S[%d] (of size: %d): ", j, pSize(strat->S[j]));
    1236       pWrite(strat->S[j]);
    1237     }
    1238   };
     1230//  if (TEST_OPT_DEBUG)
     1231//  {
     1232//    PrintS("redNF: starting S:\n");
     1233//    for( j = 0; j <= max_ind; j++ )
     1234//    {
     1235//      Print("S[%d] (of size: %d): ", j, pSize(strat->S[j]));
     1236//      pWrite(strat->S[j]);
     1237//    }
     1238//  };
    12391239#endif
    12401240
     
    13041304
    13051305#ifdef KDEBUG
    1306         if (TEST_OPT_DEBUG)
    1307         {
    1308           PrintS("redNF: starting S: ");
    1309           for( j = 0; j <= max_ind; j++ )
    1310           {
    1311             Print("S[%d] (of size: %d): ", j, pSize(strat->S[j]));
    1312             pWrite(strat->S[j]);
    1313           }
    1314         };
     1306//        if (TEST_OPT_DEBUG)
     1307//        {
     1308//          PrintS("redNF: starting S:\n");
     1309//          for( j = 0; j <= max_ind; j++ )
     1310//          {
     1311//            Print("S[%d] (of size: %d): ", j, pSize(strat->S[j]));
     1312//            pWrite(strat->S[j]);
     1313//          }
     1314//        };
    13151315#endif
    13161316
     
    13371337
    13381338#ifdef KDEBUG
    1339       if (TEST_OPT_DEBUG)
    1340       {
    1341         PrintS("redNF: starting S: ");
    1342         for( j = 0; j <= max_ind; j++ )
    1343         {
    1344           Print("S[%d] (of size: %d): ", j, pSize(strat->S[j]));
    1345           pWrite(strat->S[j]);
    1346         }
    1347       };
     1339//      if (TEST_OPT_DEBUG)
     1340//      {
     1341//        PrintS("redNF: starting S:\n");
     1342//        for( j = 0; j <= max_ind; j++ )
     1343//        {
     1344//          Print("S[%d] (of size: %d): ", j, pSize(strat->S[j]));
     1345//          pWrite(strat->S[j]);
     1346//        }
     1347//      };
    13481348#endif
    13491349
     
    16881688//    }
    16891689//  }
    1690   if (TEST_OPT_PROT) messageStat(hilbcount,strat);
     1690  if ((TEST_OPT_PROT) || (TEST_OPT_DEBUG)) messageStat(hilbcount,strat);
    16911691  SI_RESTORE_OPT1(save);
    16921692  if (Q!=NULL) updateResult(strat->Shdl,Q,strat);
Note: See TracChangeset for help on using the changeset viewer.