Changeset f4d581 in git for kernel/GBEngine/kutil.cc
- Timestamp:
- Apr 4, 2017, 2:40:54 PM (7 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
- Children:
- e3f7c1a69f73a3bc29e74ade0d078686074677e5
- Parents:
- c72b3a88cfcb83e29a3daacda3672978a6146759
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/GBEngine/kutil.cc
rc72b3a rf4d581 3208 3208 if (j>strat->Lmax) 3209 3209 { 3210 j=((j+setmaxLinc-1)/setmaxLinc)*setmaxLinc; 3211 strat->L = (LSet)omReallocSize(strat->L,strat->Lmax*sizeof(LObject), 3212 j*sizeof(LObject)); 3213 strat->Lmax=j; 3210 j=((j+setmaxLinc-1)/setmaxLinc)*setmaxLinc-strat->Lmax; 3211 enlargeL(&(strat->L),&(strat->Lmax),j); 3214 3212 } 3215 3213 j = strat->Ll; … … 3231 3229 if (j>strat->Lmax) 3232 3230 { 3233 j=((j+setmaxLinc-1)/setmaxLinc)*setmaxLinc; 3234 strat->L = (LSet)omReallocSize(strat->L,strat->Lmax*sizeof(LObject), 3235 j*sizeof(LObject)); 3236 strat->Lmax=j; 3231 j=((j+setmaxLinc-1)/setmaxLinc)*setmaxLinc-strat->Lmax; 3232 enlargeL(&(strat->L),&(strat->Lmax),j); 3237 3233 } 3238 3234 j = strat->Ll; … … 10108 10104 strat->Lmax = ((IDELEMS(F)+setmaxLinc-1)/setmaxLinc)*setmaxLinc; 10109 10105 strat->Ll = -1; 10110 strat->L = initL( ((IDELEMS(F)+setmaxLinc-1)/setmaxLinc)*setmaxLinc);10106 strat->L = initL(strat->Lmax); 10111 10107 /*- set B -*/ 10112 10108 strat->Bmax = setmaxL; … … 10306 10302 strat->Lmax = ((IDELEMS(F)+setmaxLinc-1)/setmaxLinc)*setmaxLinc; 10307 10303 strat->Ll = -1; 10308 strat->L = initL( ((IDELEMS(F)+setmaxLinc-1)/setmaxLinc)*setmaxLinc);10304 strat->L = initL(strat->Lmax); 10309 10305 /*- set B -*/ 10310 10306 strat->Bmax = setmaxL;
Note: See TracChangeset
for help on using the changeset viewer.