Changeset c1c2ccd in git for kernel/GBEngine/kstd1.cc
- Timestamp:
- Sep 9, 2015, 4:25:50 PM (8 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- b4fbb84ad318878fabdaa4dbc73d6d1fcea0a9e8
- Parents:
- 456eb622b2382d15921e6e3db01415bc2871fd1c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/GBEngine/kstd1.cc
r456eb62 rc1c2ccd 14 14 #define MYTEST 0 15 15 16 #define ADIDEBUG 017 #define ADIDEBUG_NF 016 #define ADIDEBUG 1 17 #define ADIDEBUG_NF 1 18 18 19 19 #include <kernel/mod2.h> … … 402 402 PrintS("\n No poly in T divides h.\n"); 403 403 } 404 //getchar(); 404 405 #endif 405 406 if (j < 0) … … 734 735 loop 735 736 { 737 #if ADIDEBUG_NF 738 for(int ii=0;ii<=strat->tl;ii++) 739 { 740 printf("\nT[%i]:\nt^%i ",ii,strat->T[ii].ecart); 741 pWrite(strat->T[ii].p); 742 } 743 //getchar(); 744 #endif 736 745 if (j > strat->tl) 737 746 { … … 813 822 if (H.p == NULL) 814 823 return NULL; 824 #if 0 825 //kÃŒrzeste=1, kleinste ecart = 0 826 int dummy=0; 827 int z=-1; 828 for(int ii=0; ii<=strat->tl;ii++) 829 { 830 if(pLmIsConstant(strat->T[ii].p)) 831 { 832 printf("\nFound one:\n");pWrite(strat->T[ii].p); 833 if(dummy==0 && strat->T[ii].ecart < strat->T[z].ecart) 834 { 835 z = ii; 836 } 837 if(dummy == 1 && strat->T[ii].length < strat->T[z].length) 838 { 839 z = ii; 840 } 841 } 842 } 843 printf("\n!!!!!!!!!!!!!!!!! z = %i\n",z); 844 if(z!=-1) 845 { 846 enterOneStrongPoly(z,H.p,H.ecart,0,strat,-1 , TRUE); 847 } 848 #endif 815 849 } 816 850 else … … 825 859 #if ADIDEBUG_NF 826 860 printf("\nAfter the small reduction it looks like this:\n");pWrite(H.p); 827 getchar();861 //getchar(); 828 862 #endif 829 863 /*- try to reduce the s-polynomial -*/ … … 1593 1627 } 1594 1628 #endif 1595 getchar();1629 //getchar(); 1596 1630 #endif 1597 1631 #ifdef KDEBUG
Note: See TracChangeset
for help on using the changeset viewer.