Changeset 9e8da7 in git


Ignore:
Timestamp:
Mar 15, 2011, 7:17:50 PM (12 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
Children:
4f7d761d43192f9c176ef0f44b0f61e891545eb8
Parents:
f247337dd844f01e85a8379ff9c1e26fe7eea863
Message:
ADD: more testing (output due to option(teach)) for redNF

From: Oleksandr Motsak <motsak@mathematik.uni-kl.de>

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

Legend:

Unmodified
Added
Removed
  • kernel/ideals.cc

    rf24733 r9e8da7  
    1313# define MYTEST 0
    1414#else /* ifndef NDEBUG */
    15 # define MYTEST 0
     15# define MYTEST 1
    1616#endif /* ifndef NDEBUG */
    1717
  • kernel/kstd2.cc

    rf24733 r9e8da7  
    839839  BOOLEAN is_ring = rField_is_Ring(currRing);
    840840#endif
     841#ifdef KDEBUG
     842  if (TEST_OPT_DEBUG)
     843  {
     844    PrintS("redNF: starting S: ");
     845    for( j = 0; j <= max_ind; j++ )
     846    {
     847      Print("S[%d] (of size: %d): ", j, pSize(strat->S[j]));
     848      pWrite(strat->S[j]);
     849    }
     850  };
     851#endif
     852
    841853  loop
    842854  {
     
    902914      {
    903915        kBucketDestroy(&P.bucket);
     916
     917#ifdef KDEBUG
     918        if (TEST_OPT_DEBUG)
     919        {
     920          PrintS("redNF: starting S: ");
     921          for( j = 0; j <= max_ind; j++ )
     922          {
     923            Print("S[%d] (of size: %d): ", j, pSize(strat->S[j]));
     924            pWrite(strat->S[j]);
     925          }
     926        };
     927#endif
     928       
    904929        return NULL;
    905930      }
     
    922947      kBucketDestroy(&P.bucket);
    923948      pNormalize(P.p);
     949
     950#ifdef KDEBUG
     951      if (TEST_OPT_DEBUG)
     952      {
     953        PrintS("redNF: starting S: ");
     954        for( j = 0; j <= max_ind; j++ )
     955        {
     956          Print("S[%d] (of size: %d): ", j, pSize(strat->S[j]));
     957          pWrite(strat->S[j]);
     958        }
     959      };
     960#endif
     961
    924962      return P.p;
    925963    }
Note: See TracChangeset for help on using the changeset viewer.