Changeset ec223c in git
- Timestamp:
- Mar 7, 2024, 4:40:08 PM (2 months ago)
- Branches:
- (u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
- Children:
- 9b100cf2c033af852a72272e1eeb8a3a17aa4a86
- Parents:
- d2ca037eda294f5a9081d6aab115683a0a1aa3e7
- Location:
- kernel/GBEngine
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/GBEngine/kstd1.cc
rd2ca03 rec223c 2247 2247 omFree(strat->R); 2248 2248 2249 if ((Q!=NULL)&&(strat->fromQ!=NULL)) 2250 { 2251 i=((IDELEMS(Q)+IDELEMS(F)+15)/16)*16; 2252 omFreeSize((ADDRESS)strat->fromQ,i*sizeof(int)); 2253 strat->fromQ=NULL; 2254 } 2249 omfree((ADDRESS)strat->fromQ); 2250 strat->fromQ=NULL; 2255 2251 if (strat->kNoether!=NULL) pLmFree(&strat->kNoether); 2256 2252 // if ((TEST_OPT_WEIGHTM)&&(F!=NULL)) … … 2399 2395 omFree(strat->S_2_R); 2400 2396 omFree(strat->R); 2401 if ((Q!=NULL)&&(strat->fromQ!=NULL)) 2402 { 2403 i=((IDELEMS(F)+IDELEMS(Q)+(setmaxTinc-1))/setmaxTinc)*setmaxTinc; 2404 omFreeSize((ADDRESS)strat->fromQ,i*sizeof(int)); 2405 strat->fromQ=NULL; 2406 } 2397 omfree((ADDRESS)strat->fromQ); 2398 strat->fromQ=NULL; 2407 2399 if (strat->kNoether!=NULL) pLmFree(&strat->kNoether); 2408 2400 // if ((TEST_OPT_WEIGHTM)&&(F!=NULL)) … … 3539 3531 if (strat->fromQ) 3540 3532 { 3533 omfree(strat-fromQ); 3541 3534 strat->fromQ=NULL; 3542 3535 ideal res=kInterRed(shdl,NULL); -
kernel/GBEngine/kutil.cc
rd2ca03 rec223c 7639 7639 if (Q!=NULL) i=((IDELEMS(F)+IDELEMS(Q)+(setmaxTinc-1))/setmaxTinc)*setmaxTinc; 7640 7640 else i=((IDELEMS(F)+(setmaxTinc-1))/setmaxTinc)*setmaxTinc; 7641 if (i<setmaxTinc) i=setmaxT; 7641 7642 strat->ecartS=initec(i); 7642 7643 strat->sevS=initsevS(i); … … 7731 7732 int i,pos; 7732 7733 7733 if (Q!=NULL) i=((IDELEMS(Q)+(setmaxTinc-1))/setmaxTinc)*setmaxTinc; 7734 if (Q!=NULL) 7735 { 7736 i=((IDELEMS(Q)+(setmaxTinc-1))/setmaxTinc)*setmaxTinc; 7737 if (i<setmaxTinc) i=setmaxT; 7738 } 7734 7739 else i=setmaxT; 7735 7740 strat->ecartS=initec(i); … … 7827 7832 { 7828 7833 int i,pos; 7829 if (Q!=NULL) i=((IDELEMS(Q)+(setmaxTinc-1))/setmaxTinc)*setmaxTinc; 7834 if (Q!=NULL) 7835 { 7836 i=((IDELEMS(Q)+(setmaxTinc-1))/setmaxTinc)*setmaxTinc; 7837 if (i<setmaxTinc) i=setmaxT; 7838 } 7830 7839 else i=setmaxT; 7831 7840 strat->ecartS = initec(i); … … 8133 8142 int i,pos; 8134 8143 8135 if (Q!=NULL) i=((IDELEMS(Q)+(setmaxTinc-1))/setmaxTinc)*setmaxTinc; 8144 if (Q!=NULL) 8145 { 8146 i=((IDELEMS(Q)+(setmaxTinc-1))/setmaxTinc)*setmaxTinc; 8147 if (i<setmaxTinc) i=setmaxT; 8148 } 8136 8149 else i=setmaxT; 8137 8150 i=((i+IDELEMS(F)+IDELEMS(P)+setmax-1)/setmax)*setmax; … … 8277 8290 int i,pos; 8278 8291 8279 if (Q!=NULL) i=((IDELEMS(Q)+(setmaxTinc-1))/setmaxTinc)*setmaxTinc; 8292 if (Q!=NULL) 8293 { 8294 i=((IDELEMS(Q)+(setmaxTinc-1))/setmaxTinc)*setmaxTinc; 8295 if (i<setmaxTinc) i=setmaxT; 8296 } 8280 8297 else i=setmaxT; 8281 8298 i=((i+IDELEMS(F)+IDELEMS(P)+setmax-1)/setmax)*setmax;
Note: See TracChangeset
for help on using the changeset viewer.