Changeset 8e650e in git


Ignore:
Timestamp:
May 25, 2012, 10:32:31 PM (12 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
c1931a46f17ed5666606c948fc7c095a67adeb38
Parents:
74afe1f3ea99838d00c52d1a3eaef93fc067ba10
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-05-25 22:32:31+02:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2014-05-07 04:41:43+02:00
Message:
options are attached as attributes to SSinit
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/schreyer.lib

    r74afe1f r8e650e  
    551551 
    552552  int @DEBUG = !system("with", "ndebug");
    553   int @SYZCHECK = 1 || @DEBUG; // TODO: only for now!!
     553
     554  if( typeof( attrib(SSinit, "DEBUG") ) == "int" )
     555  {
     556    @DEBUG = attrib(SSinit, "DEBUG");
     557  }
     558
     559  int @SYZCHECK = @DEBUG;
     560
     561  if( typeof( attrib(SSinit, "SYZCHECK") ) == "int" )
     562  {
     563    @SYZCHECK = attrib(SSinit, "SYZCHECK");
     564  }
    554565 
    555566  if( @DEBUG )
     
    703714 
    704715//  attrib(S, "InducionStart", @RANK);
    705   attrib(S, "LEAD2SYZ", 1);
    706   attrib(S, "TAILREDSYZ", 1);
     716
     717
     718  if( typeof( attrib(SSinit, "LEAD2SYZ") ) == "int" )
     719  {
     720    attrib(S, "LEAD2SYZ", attrib(SSinit, "LEAD2SYZ") );
     721  } else
     722  {
     723    attrib(S, "LEAD2SYZ", 1);
     724  }
     725
     726  if( typeof( attrib(SSinit, "TAILREDSYZ") ) == "int" )
     727  {
     728    attrib(S, "TAILREDSYZ", attrib(SSinit, "TAILREDSYZ") );
     729  } else
     730  {
     731    attrib(S, "TAILREDSYZ", 1);
     732  }
     733
     734
     735  if( typeof( attrib(SSinit, "HYBRIDNF") ) == "int" )
     736  {
     737    attrib(S, "HYBRIDNF", attrib(SSinit, "HYBRIDNF") );
     738  } else
     739  {
     740    attrib(S, "HYBRIDNF", 0);
     741  }
     742 
    707743  attrib(S, "DEBUG", @DEBUG);
    708744  attrib(S, "SYZCHECK", @SYZCHECK);
     
    11431179    int @DEBUG = !system("with", "ndebug");
    11441180  }
     1181
     1182  if( typeof( attrib(basering, "SYZCHECK") ) == "int" )
     1183  {
     1184    int @SYZCHECK = attrib(basering, "SYZCHECK");
     1185  } else
     1186  {
     1187    int @SYZCHECK = @DEBUG;
     1188  }
     1189 
    11451190 
    11461191  if( @DEBUG )
Note: See TracChangeset for help on using the changeset viewer.