Changeset 57bfa2 in git for kernel/syz.cc


Ignore:
Timestamp:
Apr 14, 2009, 2:40:46 PM (14 years ago)
Author:
Motsak Oleksandr <motsak@…>
Branches:
(u'spielwiese', 'f6c3dc58b0df4bd712574325fe76d0626174ad97')
Children:
29a96670493a61dce0e68a57c46668b689508d12
Parents:
797d4f19229a77bdf9613bc5ed8a5f46eaebabe4
Message:
*motsak: better extension-testing switches


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

Legend:

Unmodified
Added
Removed
  • kernel/syz.cc

    r797d4f r57bfa2  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: syz.cc,v 1.20 2009-04-10 19:03:44 motsak Exp $ */
     4/* $Id: syz.cc,v 1.21 2009-04-14 12:40:46 motsak Exp $ */
    55
    66/*
     
    616616syStrategy syResolution(ideal arg, int maxlength,intvec * w, BOOLEAN minim)
    617617{
    618 #define QSyzTest 0
    619618
    620619#ifdef HAVE_PLURAL
    621620
    622 #if QSyzTest
    623   ideal idSaveCurrQuotient = currQuotient;
    624   ideal idSaveCurrRingQuotient = currRing->qideal;
    625 #endif
     621  const ideal idSaveCurrQuotient = currQuotient;
     622  const ideal idSaveCurrRingQuotient = currRing->qideal;
    626623
    627624  if( rIsSCA(currRing) )
     
    633630#endif
    634631
    635 #if QSyzTest
    636     currQuotient = SCAQuotient(currRing);
    637     currRing->qideal = currQuotient;
    638 #endif
     632    if( ncExtensions(TESTSYZSCAMASK) )
     633    {
     634      currQuotient = SCAQuotient(currRing);
     635      currRing->qideal = currQuotient;
     636    }
    639637
    640638    const unsigned int m_iFirstAltVar = scaFirstAltVar(currRing);
     
    685683  {
    686684
    687 #if QSyzTest
    688     currQuotient     = idSaveCurrQuotient;
    689     currRing->qideal = idSaveCurrRingQuotient;
    690 #endif
     685    if( ncExtensions(TESTSYZSCAMASK) )
     686    {
     687      currQuotient     = idSaveCurrQuotient;
     688      currRing->qideal = idSaveCurrRingQuotient;
     689    }
    691690
    692691    id_Delete(&arg, currRing);
Note: See TracChangeset for help on using the changeset viewer.