Changeset b0ca43c in git
- Timestamp:
- May 10, 2012, 6:58:51 PM (11 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 768c0c633aae467a89a591f785e3022483f6be78860d71cc6a362dccf8aea3a8620a4e147d6ab72c
- Parents:
- fdde6cefc2a23bb663a3fe197b2e24bffacac361
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-05-10 18:58:51+02:00
- git-committer:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-05-10 18:59:06+02:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/schreyer.lib
rfdde6ce rb0ca43c 475 475 476 476 int @DEBUG = !system("with", "ndebug"); 477 int @SYZCHECK = 1 || @DEBUG; // TODO: only for now!! 477 478 478 479 if( @DEBUG ) … … 568 569 } 569 570 570 if( @ DEBUG)571 if( @SYZCHECK ) 571 572 { 572 573 // 0^th syz. property … … 587 588 attrib(MRES, "isHomog", @V); 588 589 589 attrib(S, "InducionStart", @RANK);590 // attrib(S, "InducionStart", @RANK); 590 591 attrib(S, "LEAD2SYZ", 1); 591 592 attrib(S, "TAILREDSYZ", 0); 592 593 attrib(S, "DEBUG", @DEBUG); 594 attrib(S, "SYZCHECK", @SYZCHECK); 593 595 594 596 if( @DEBUG ) … … 736 738 } 737 739 740 if( typeof( attrib(basering, "SYZCHECK") ) == "int" ) 741 { 742 int @SYZCHECK = attrib(basering, "SYZCHECK"); 743 } else 744 { 745 int @SYZCHECK = @DEBUG; 746 } 747 748 738 749 if( @DEBUG ) 739 750 { … … 804 815 { 805 816 "SSCompute2LeadingSyzygyTerms::Syz(LEAD): "; S; 806 817 } 818 819 if( @SYZCHECK ) 820 { 807 821 if( size(S) > 0 and size(L) > 0 ) 808 822 { … … 1075 1089 static proc SSstep() 1076 1090 { 1077 /// TODO!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 1078 int @DEBUG = !system("with", "ndebug"); 1091 if( typeof( attrib(basering, "DEBUG") ) == "int" ) 1092 { 1093 int @DEBUG = attrib(basering, "DEBUG"); 1094 } else 1095 { 1096 int @DEBUG = !system("with", "ndebug"); 1097 } 1098 1099 1100 if( typeof( attrib(basering, "SYZCHECK") ) == "int" ) 1101 { 1102 int @SYZCHECK = attrib(basering, "SYZCHECK"); 1103 } else 1104 { 1105 int @SYZCHECK = @DEBUG; 1106 } 1079 1107 1080 1108 if( @DEBUG ) … … 1146 1174 1147 1175 1148 if( size(N) > 0)1149 { 1150 if( @DEBUG)1176 if( @SYZCHECK ) 1177 { 1178 if( size(N) > 0 ) 1151 1179 { 1152 1180 // next syz. property
Note: See TracChangeset
for help on using the changeset viewer.