Changeset fe89b98 in git
- Timestamp:
- Aug 21, 2011, 3:28:09 PM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0604212ebb110535022efecad887940825b97c3f')
- Children:
- 2e757c48501ca724ccafe96fc2ffb048a4ca59de
- Parents:
- 4691363437c8cb2f8bd9e698274bb467a91b9feb
- git-author:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2011-08-21 15:28:09+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 16:12:24+01:00
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/iparith.cc
r4691363 rfe89b98 2305 2305 } 2306 2306 pFDegProc deg; 2307 if ( pLexOrder && (currRing->order[0]==ringorder_lp))2307 if (currRing->pLexOrder && (currRing->order[0]==ringorder_lp)) 2308 2308 deg=p_Totaldegree; 2309 2309 else … … 2325 2325 pFDegProc save_FDeg=currRing->pFDeg; 2326 2326 pLDegProc save_LDeg=currRing->pLDeg; 2327 BOOLEAN save_pLexOrder= pLexOrder;2328 pLexOrder=FALSE;2327 BOOLEAN save_pLexOrder=currRing->pLexOrder; 2328 currRing->pLexOrder=FALSE; 2329 2329 kHomW=vw; 2330 2330 kModW=w; 2331 2331 pSetDegProcs(currRing,kHomModDeg); 2332 2332 res->data=(void *)(long)idHomModule(v_id,currQuotient,&w); 2333 pLexOrder=save_pLexOrder;2333 currRing->pLexOrder=save_pLexOrder; 2334 2334 kHomW=NULL; 2335 2335 kModW=NULL; -
kernel/gr_kstd2.cc
r4691363 rfe89b98 906 906 return 0; 907 907 } 908 if (strat->honey && pLexOrder)908 if (strat->honey && currRing->pLexOrder) 909 909 strat->initEcart(h); 910 910 /* h.length:=l; */ … … 922 922 // } 923 923 // } 924 if (strat->honey || pLexOrder)924 if (strat->honey || currRing->pLexOrder) 925 925 { 926 926 pass++; … … 979 979 else if (strat->honey) 980 980 strat->red = nc_redHoney; 981 else if ( pLexOrder && !strat->homog)981 else if (currRing->pLexOrder && !strat->homog) 982 982 strat->red = nc_redLazy; 983 983 else if (TEST_OPT_INTSTRATEGY && strat->homog) … … 1007 1007 #endif 1008 1008 1009 if ( pLexOrder && strat->honey)1009 if (currRing->pLexOrder && strat->honey) 1010 1010 strat->initEcart = initEcartNormal; 1011 1011 else -
kernel/kstd1.cc
r4691363 rfe89b98 1055 1055 if (strat->honey) 1056 1056 strat->red = redHoney; 1057 else if ( pLexOrder && !strat->homog)1057 else if (currRing->pLexOrder && !strat->homog) 1058 1058 strat->red = redLazy; 1059 1059 else … … 1068 1068 } 1069 1069 #endif 1070 if ( pLexOrder && strat->honey)1070 if (currRing->pLexOrder && strat->honey) 1071 1071 strat->initEcart = initEcartNormal; 1072 1072 else … … 1717 1717 1718 1718 ideal r; 1719 BOOLEAN b= pLexOrder,toReset=FALSE;1719 BOOLEAN b=currRing->pLexOrder,toReset=FALSE; 1720 1720 BOOLEAN delete_w=(w==NULL); 1721 1721 kStrategy strat=new skStrategy; … … 1737 1737 if (vw != NULL) 1738 1738 { 1739 pLexOrder=FALSE;1739 currRing->pLexOrder=FALSE; 1740 1740 strat->kHomW=kHomW=vw; 1741 1741 pFDegOld = currRing->pFDeg; … … 1756 1756 } 1757 1757 } 1758 pLexOrder=b;1758 currRing->pLexOrder=b; 1759 1759 if (h==isHomog) 1760 1760 { … … 1770 1770 } 1771 1771 } 1772 pLexOrder = TRUE;1772 currRing->pLexOrder = TRUE; 1773 1773 if (hilb==NULL) strat->LazyPass*=2; 1774 1774 } … … 1828 1828 pRestoreDegProcs(currRing,pFDegOld, pLDegOld); 1829 1829 } 1830 pLexOrder = b;1830 currRing->pLexOrder = b; 1831 1831 //Print("%d reductions canceled \n",strat->cel); 1832 1832 HCord=strat->HCord; … … 1841 1841 { 1842 1842 ideal r; 1843 BOOLEAN b= pLexOrder,toReset=FALSE;1843 BOOLEAN b=currRing->pLexOrder,toReset=FALSE; 1844 1844 BOOLEAN delete_w=(w==NULL); 1845 1845 kStrategy strat=new skStrategy; … … 1859 1859 if (vw != NULL) 1860 1860 { 1861 pLexOrder=FALSE;1861 currRing->pLexOrder=FALSE; 1862 1862 strat->kHomW=kHomW=vw; 1863 1863 pFDegOld = currRing->pFDeg; … … 1878 1878 } 1879 1879 } 1880 pLexOrder=b;1880 currRing->pLexOrder=b; 1881 1881 if (h==isHomog) 1882 1882 { … … 1892 1892 } 1893 1893 } 1894 pLexOrder = TRUE;1894 currRing->pLexOrder = TRUE; 1895 1895 if (hilb==NULL) strat->LazyPass*=2; 1896 1896 } … … 1921 1921 pRestoreDegProcs(currRing,pFDegOld, pLDegOld); 1922 1922 } 1923 pLexOrder = b;1923 currRing->pLexOrder = b; 1924 1924 //Print("%d reductions canceled \n",strat->cel); 1925 1925 HCord=strat->HCord; … … 1948 1948 int Kstd1_OldDeg = Kstd1_deg,i; 1949 1949 intvec* temp_w=NULL; 1950 BOOLEAN b= pLexOrder,toReset=FALSE;1950 BOOLEAN b=currRing->pLexOrder,toReset=FALSE; 1951 1951 BOOLEAN delete_w=(w==NULL); 1952 1952 BOOLEAN oldDegBound=TEST_OPT_DEGBOUND; … … 2003 2003 } 2004 2004 } 2005 pLexOrder = TRUE;2005 currRing->pLexOrder = TRUE; 2006 2006 strat->LazyPass*=2; 2007 2007 } … … 2033 2033 kModW = NULL; 2034 2034 } 2035 pLexOrder = b;2035 currRing->pLexOrder = b; 2036 2036 HCord=strat->HCord; 2037 2037 if ((delete_w)&&(temp_w!=NULL)) delete temp_w; -
kernel/kstd2.cc
r4691363 rfe89b98 118 118 #if 1 119 119 int ende; 120 if ((strat->ak>0) || pLexOrder) ende=strat->sl;120 if ((strat->ak>0) || currRing->pLexOrder) ende=strat->sl; 121 121 else ende=posInS(strat,*max_ind,p,0)+1; 122 122 if (ende>(*max_ind)) ende=(*max_ind); … … 1975 1975 strat->red = redFirstShift; /* no redHomog ! */ 1976 1976 1977 if ( pLexOrder && strat->honey)1977 if (currRing->pLexOrder && strat->honey) 1978 1978 strat->initEcart = initEcartNormal; 1979 1979 else -
kernel/kstdfac.cc
r4691363 rfe89b98 898 898 #ifdef HAVE_FACTORY 899 899 ideal r; 900 BOOLEAN b= pLexOrder,toReset=FALSE;900 BOOLEAN b=currRing->pLexOrder,toReset=FALSE; 901 901 BOOLEAN delete_w=(w==NULL); 902 902 kStrategy strat=new skStrategy; … … 931 931 toReset = TRUE; 932 932 } 933 pLexOrder = TRUE;933 currRing->pLexOrder = TRUE; 934 934 strat->LazyPass*=2; 935 935 } … … 1032 1032 kModW = NULL; 1033 1033 } 1034 pLexOrder = b;1034 currRing->pLexOrder = b; 1035 1035 delete(strat); 1036 1036 strat=orgstrat; -
kernel/kutil.cc
r4691363 rfe89b98 391 391 392 392 strat->kHEdgeFound=FALSE; 393 if ( pLexOrder || currRing->MixedOrder)393 if (currRing->pLexOrder || currRing->MixedOrder) 394 394 { 395 395 return; … … 5835 5835 strat->posInT = posInT_EcartpLength; 5836 5836 } 5837 else if ( pLexOrder && !TEST_OPT_INTSTRATEGY)5837 else if (currRing->pLexOrder && !TEST_OPT_INTSTRATEGY) 5838 5838 { 5839 5839 strat->posInL = posInL11; -
kernel/tgb.cc
r4691363 rfe89b98 3222 3222 } 3223 3223 } 3224 eliminationProblem = ((!(is_homog)) && (( pLexOrder) || (I->rank > 1)));3224 eliminationProblem = ((!(is_homog)) && ((currRing->pLexOrder) || (I->rank > 1))); 3225 3225 tailReductions = ((is_homog) || ((TEST_OPT_REDTAIL) && (!(I->rank > 1)))); 3226 3226 // Print("is homog:%d",c->is_homog); -
libpolys/polys/polys.h
r4691363 rfe89b98 225 225 typedef poly* polyset; 226 226 extern int pOrdSgn; 227 extern BOOLEAN pLexOrder;228 227 extern poly ppNoether; 229 228 extern BOOLEAN pVectorOut;
Note: See TracChangeset
for help on using the changeset viewer.