Changeset 009bd5 in git for kernel/GBEngine/kstd1.cc
- Timestamp:
- Dec 4, 2014, 11:23:02 AM (9 years ago)
- Branches:
- (u'spielwiese', 'df6a8e29030ff93c6ad53051028727af7d339fa0')
- Children:
- d50995160fd4a66b8b49207ac2c86fa22afea1ee
- Parents:
- d5771f0b547225409cbbd4793cbfe2cb394b5416
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/GBEngine/kstd1.cc
rd5771f0 r009bd5 1187 1187 strat->use_buckets = kMoraUseBucket(strat); 1188 1188 #else 1189 if ( (!rField_is_Ring(currRing)) || (currRing->OrdSgn != -1))1190 { 1191 strat->red = redFirst;1189 if ( (!rField_is_Ring(currRing)) || (rHasGlobalOrdering(currRing))) 1190 { 1191 strat->red = redFirst; 1192 1192 strat->use_buckets = kMoraUseBucket(strat); 1193 } 1194 #endif 1195 1193 } 1194 #endif 1196 1195 updateT(strat); 1197 1196 … … 1200 1199 reorderT(strat); 1201 1200 #else 1202 if ( (!rField_is_Ring(currRing)) || (currRing->OrdSgn != -1))1203 { 1204 strat->posInT = posInT2;1201 if ( (!rField_is_Ring(currRing)) || (rHasGlobalOrdering(currRing))) 1202 { 1203 strat->posInT = posInT2; 1205 1204 reorderT(strat); 1206 1205 } 1207 1206 #endif 1208 1207 } … … 1363 1362 if (rField_is_Ring(currRing)) 1364 1363 { 1365 if( currRing->OrdSgn == -1)1364 if(rHasLocalOrMixedOrdering(currRing)) 1366 1365 {strat->red = redRiloc;} 1367 1366 else … … 2178 2177 #ifdef HAVE_RINGS 2179 2178 if (rField_is_Ring(currRing)) 2180 2181 if( currRing->OrdSgn == -1)2179 { 2180 if(rHasLocalOrMixedOrdering(currRing)) 2182 2181 r=mora(F,Q,NULL,hilb,strat); 2183 2182 else 2184 2183 r=bba(F,Q,NULL,hilb,strat); 2185 2184 } 2186 2185 else 2187 2186 #endif 2188 2187 { 2189 if ( currRing->OrdSgn==-1)2188 if (rHasLocalOrMixedOrdering(currRing)) 2190 2189 { 2191 2190 if (w!=NULL) … … 2329 2328 #endif 2330 2329 { 2331 if ( currRing->OrdSgn==-1)2330 if (rHasLocalOrMixedOrdering(currRing)) 2332 2331 { 2333 2332 if (w!=NULL) … … 2426 2425 idTest(F); 2427 2426 #endif 2428 if ( currRing->OrdSgn==-1)2427 if (rHasLocalOrMixedOrdering(currRing)) 2429 2428 { 2430 2429 /* error: no local ord yet with shifts */ … … 2552 2551 } 2553 2552 strat->homog=h; 2554 if ( currRing->OrdSgn==-1)2553 if (rHasLocalOrMixedOrdering(currRing)) 2555 2554 { 2556 2555 if (w!=NULL) … … 2647 2646 poly res; 2648 2647 2649 if ( currRing->OrdSgn==-1)2648 if (rHasLocalOrMixedOrdering(currRing)) 2650 2649 res=kNF1(F,Q,pp,strat,lazyReduce); 2651 2650 else … … 2700 2699 } 2701 2700 2702 if ( currRing->OrdSgn==-1)2701 if (rHasLocalOrMixedOrdering(currRing)) 2703 2702 res=kNF1(F,Q,pp,strat,lazyReduce); 2704 2703 else … … 2770 2769 strat->R = initR(); 2771 2770 strat->sevT = initsevT(); 2772 if ( currRing->OrdSgn == -1) strat->honey = TRUE;2771 if (rHasLocalOrMixedOrdering(currRing)) strat->honey = TRUE; 2773 2772 initS(tempF, tempQ, strat); 2774 2773 if (TEST_OPT_REDSB) … … 3080 3079 if(rIsPluralRing(currRing)) return kInterRedOld(F,Q); 3081 3080 #endif 3082 if (( currRing->OrdSgn==-1)|| (rField_is_numeric(currRing))3081 if ((rHasLocalOrMixedOrdering(currRing))|| (rField_is_numeric(currRing)) 3083 3082 #ifdef HAVE_RINGS 3084 3083 ||(rField_is_Ring(currRing))
Note: See TracChangeset
for help on using the changeset viewer.