Changeset cce4a2f in git


Ignore:
Timestamp:
Feb 22, 2009, 11:39:42 AM (14 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '8d54773d6c9e2f1d2593a28bc68b7eeab54ed529')
Children:
454cb04f5efb2088dc5f4cb1acc184a60aa3bbbd
Parents:
4732f82312538109bdce424060412c45a2b85dc6
Message:
*hannes: ALLOW_PROD_CRIT


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

Legend:

Unmodified
Added
Removed
  • kernel/kutil.cc

    r4732f8 rcce4a2f  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: kutil.cc,v 1.119 2009-02-21 17:50:11 Singular Exp $ */
     4/* $Id: kutil.cc,v 1.120 2009-02-22 10:39:42 Singular Exp $ */
    55/*
    66* ABSTRACT: kernel: utils for kStd
     
    13871387#define MYTEST 0
    13881388
    1389   if (strat->sugarCrit && PROD_CRIT(strat))
     1389  if (strat->sugarCrit && ALLOW_PROD_CRIT(strat))
    13901390  {
    13911391    if((!((strat->ecartS[i]>0)&&(ecart>0)))
     
    14561456  else /*sugarcrit*/
    14571457  {
    1458     if (PROD_CRIT(strat))
     1458    if (ALLOW_PROD_CRIT(strat))
    14591459    {
    14601460      // if currRing->nc_type!=quasi (or skew)
     
    15411541//         }
    15421542//         else
    1543         if( PROD_CRIT(strat) )
     1543        if( ALLOW_PROD_CRIT(strat) )
    15441544        {
    15451545            // product criterion for homogeneous case in SCA
     
    16431643  {
    16441644    //PrintS("prod-crit\n");
    1645     if(PROD_CRIT(strat))
     1645    if(ALLOW_PROD_CRIT(strat))
    16461646    {
    16471647      //PrintS("prod-crit\n");
     
    69146914  }
    69156915
    6916   if (strat->sugarCrit && PROD_CRIT(strat))
     6916  if (strat->sugarCrit && ALLOW_PROD_CRIT(strat))
    69176917  {
    69186918    if((!((ecartq>0)&&(ecart>0)))
     
    69836983  else /*sugarcrit*/
    69846984  {
    6985     if (PROD_CRIT(strat))
     6985    if (ALLOW_PROD_CRIT(strat))
    69866986    {
    69876987      // if currRing->nc_type!=quasi (or skew)
     
    70657065//         }
    70667066//         else
    7067 //         if( PROD_CRIT(strat) )
     7067//         if( ALLOW_PROD_CRIT(strat) )
    70687068//         {
    70697069//             // product criterion for homogeneous case in SCA
  • kernel/kutil.h

    r4732f8 rcce4a2f  
    44*  Computer Algebra System SINGULAR     *
    55****************************************/
    6 /* $Id: kutil.h,v 1.39 2009-02-21 17:50:11 Singular Exp $ */
     6/* $Id: kutil.h,v 1.40 2009-02-22 10:39:42 Singular Exp $ */
    77/*
    88* ABSTRACT: kernel: utils for kStd
     
    331331  /*FALSE, if posInL == posInL10*/
    332332#ifdef HAVE_PLURAL
     333  // set this flag to 1 to stop the product criteria
     334  // use ALLOW_PROD_CRIT(strat) to test
    333335  BOOLEAN no_prod_crit;
    334 #define PROD_CRIT(A) (!(A)->no_prod_crit)
     336#define ALLOW_PROD_CRIT(A) (!(A)->no_prod_crit)
    335337#else
    336 #define PROD_CRIT(A) (1)
     338#define ALLOW_PROD_CRIT(A) (1)
    337339#endif
    338340  char    redTailChange;
Note: See TracChangeset for help on using the changeset viewer.