Changeset 5d8302 in git
- Timestamp:
- Apr 7, 1998, 7:54:20 PM (25 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '00e2e9c41af3fde1273eb3633f4c0c7c3db2579d')
- Children:
- d86e64ab96a8a8f265a4d1b473857a697f643276
- Parents:
- 0077d9d4f8548ae476182f46352ceef170588689
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/kstd1.cc
r0077d9d r5d8302 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: kstd1.cc,v 1.1 8 1998-04-06 17:59:29 obachmanExp $ */4 /* $Id: kstd1.cc,v 1.19 1998-04-07 17:54:20 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: … … 1226 1226 { 1227 1227 pEnlargeSet(&strat->S,IDELEMS(strat->Shdl),setmax); 1228 strat->ecartS = (intset) ReAlloc(strat->ecartS,IDELEMS(strat->Shdl)*sizeof(int), 1228 strat->ecartS = (intset) ReAlloc(strat->ecartS, 1229 IDELEMS(strat->Shdl)*sizeof(int), 1229 1230 (IDELEMS(strat->Shdl)+setmax)*sizeof(int)); 1230 1231 if (strat->fromQ) 1231 1232 { 1232 strat->fromQ = (intset)ReAlloc(strat->fromQ,IDELEMS(strat->Shdl)*sizeof(int), 1233 strat->fromQ = (intset)ReAlloc(strat->fromQ, 1234 IDELEMS(strat->Shdl)*sizeof(int), 1233 1235 (IDELEMS(strat->Shdl)+setmax)*sizeof(int)); 1234 1236 } … … 1310 1312 { 1311 1313 pEnlargeSet(&strat->S,IDELEMS(strat->Shdl),setmax); 1312 strat->ecartS = (intset) ReAlloc(strat->ecartS,IDELEMS(strat->Shdl)*sizeof(intset), 1313 (IDELEMS(strat->Shdl)+setmax)*sizeof(intset)); 1314 strat->ecartS=(intset)ReAlloc(strat->ecartS, 1315 IDELEMS(strat->Shdl)*sizeof(intset), 1316 (IDELEMS(strat->Shdl)+setmax)*sizeof(intset)); 1314 1317 IDELEMS(strat->Shdl) += setmax; 1315 1318 strat->Shdl->m=strat->S; … … 1336 1339 1337 1340 strat->NotUsedAxis = (BOOLEAN *)Alloc((pVariables+1)*sizeof(BOOLEAN)); 1338 for (j= 1; j<=pVariables; j++) strat->NotUsedAxis[j] = TRUE;1341 for (j=pVariables; j>0; j--) strat->NotUsedAxis[j] = TRUE; 1339 1342 strat->enterS = enterSMora; 1340 1343 strat->initEcartPair = initEcartPairMora; /*- ecart approximation -*/ … … 2204 2207 initBuchMoraCrit(strat); 2205 2208 strat->NotUsedAxis = (BOOLEAN *)Alloc((pVariables+1)*sizeof(BOOLEAN)); 2206 for (j= 1; j<=pVariables; j++) strat->NotUsedAxis[j] = TRUE;2209 for (j=pVariables; j>0; j--) strat->NotUsedAxis[j] = TRUE; 2207 2210 strat->enterS = enterSBba; 2208 2211 strat->posInT = posInT0;
Note: See TracChangeset
for help on using the changeset viewer.