Changeset 493cf3d in git
- Timestamp:
- Nov 29, 2013, 3:48:37 PM (10 years ago)
- Branches:
- (u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
- Children:
- 2b691ca17a06c424cb7ee82c9d8dddbb88cc51cc
- Parents:
- be300e72dd08e74a482eee2b4526085e1e8c45f5
- git-author:
- Christian Eder <ederc@mathematik.uni-kl.de>2013-11-29 15:48:37+01:00
- git-committer:
- Christian Eder <ederc@mathematik.uni-kl.de>2013-12-12 13:51:27+01:00
- Location:
- kernel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/kspoly.cc
rbe300e r493cf3d 201 201 * TODO: 202 202 * -------------------------------------------- 203 * if strat-> incremental203 * if strat->sbaOrder == 1 204 204 * Since we are subdividing lower index and 205 205 * current index reductions it is enough to … … 207 207 * for a check. This should speed-up checking 208 208 * a lot! 209 * if !strat-> incremental209 * if !strat->sbaOrder == 0 210 210 * We are not subdividing lower and current index 211 211 * due to the fact that we are using the induced -
kernel/kstd2.cc
rbe300e r493cf3d 55 55 #define SBA_TAIL_RED 1 56 56 #define SBA_PRODUCT_CRITERION 0 57 #define SBA_PRINT_ZERO_REDUCTIONS 058 #define SBA_PRINT_REDUCTION_STEPS 059 #define SBA_PRINT_OPERATIONS 060 #define SBA_PRINT_SIZE_G 061 #define SBA_PRINT_SIZE_SYZ 057 #define SBA_PRINT_ZERO_REDUCTIONS 1 58 #define SBA_PRINT_REDUCTION_STEPS 1 59 #define SBA_PRINT_OPERATIONS 1 60 #define SBA_PRINT_SIZE_G 1 61 #define SBA_PRINT_SIZE_SYZ 1 62 62 #define SBA_PRINT_PRODUCT_CRITERION 0 63 63 … … 1698 1698 #endif 1699 1699 1700 ideal F = F0;1700 ideal F1 = F0; 1701 1701 ring sRing, currRingOld; 1702 1702 currRingOld = currRing; … … 1707 1707 { 1708 1708 rChangeCurrRing (sRing); 1709 F = idrMoveR (F0, currRingOld, currRing); 1710 } 1711 } 1709 F1 = idrMoveR (F0, currRingOld, currRing); 1710 } 1711 } 1712 // sort ideal F 1713 ideal F = idInit(IDELEMS(F1),F1->rank); 1714 intvec *sort = idSort(F1); 1715 for (int i=0; i<sort->length();++i) 1716 F->m[i] = F1->m[(*sort)[i]-1]; 1712 1717 #if 0 1713 1718 printf("SBA COMPUTATIONS DONE IN THE FOLLOWING RING:\n"); … … 1888 1893 #ifdef DEBUGF5 1889 1894 Print("Poly before red: "); 1890 pWrite(strat->P.p); 1895 pWrite(pHead(strat->P.p)); 1896 pWrite(strat->P.sig); 1891 1897 #endif 1892 1898 /* reduction of the element choosen from L */ … … 2017 2023 // enter into S, L, and T 2018 2024 //if ((!TEST_OPT_IDLIFT) || (pGetComp(strat->P.p) <= strat->syzComp)) 2019 if(strat->sbaOrder != 1)2025 if(strat->sbaOrder == 0) 2020 2026 { 2021 2027 BOOLEAN overwrite = TRUE; … … 2233 2239 { 2234 2240 rChangeCurrRing (currRingOld); 2235 F0 = idrMoveR (F , sRing, currRing);2241 F0 = idrMoveR (F1, sRing, currRing); 2236 2242 strat->Shdl = idrMoveR_NoSort (strat->Shdl, sRing, currRing); 2237 2243 rDelete (sRing);
Note: See TracChangeset
for help on using the changeset viewer.