Changeset 41e77d in git
- Timestamp:
- Aug 23, 2012, 3:55:40 PM (10 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '2234726c50d679d6664181a5c72f75a6fd64a787')
- Children:
- 0facdca6b24379ab6fa4c490c0c6105b9f0e8c45
- Parents:
- 903f87563d5c7fb02893c3f85c6e728757b7106b
- git-author:
- Martin Lee <martinlee84@web.de>2012-08-23 15:55:40+02:00
- git-committer:
- Martin Lee <martinlee84@web.de>2012-09-04 18:01:19+02:00
- Location:
- factory
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/facFactorize.cc
r903f87 r41e77d 323 323 result.insert (Lc (LCF)); 324 324 else 325 result.append (LCF); 325 { 326 for (CFListIterator i= result; i.hasItem(); i++) 327 i.getItem() *= LCF; 328 result.insert (LCF); 329 } 326 330 return result; 327 331 } … … 1309 1313 && fdivides (getVars (LCmultiplier), testVars)) 1310 1314 { 1315 LCheuristic= true; 1311 1316 int index; 1312 1317 Variable xx; -
factory/facFqFactorize.cc
r903f87 r41e77d 1439 1439 result.insert (Lc (LCF)); 1440 1440 else 1441 result.append (LCF); 1441 { 1442 for (CFListIterator i= result; i.hasItem(); i++) 1443 i.getItem() *= LCF; 1444 result.insert (LCF); 1445 } 1442 1446 return result; 1443 1447 } … … 2218 2222 } 2219 2223 decompress (contentAFactors, N); 2220 normalize (contentAFactors); 2224 if (!extension) 2225 normalize (contentAFactors); 2221 2226 return contentAFactors; 2222 2227 } … … 2267 2272 multiFactorize (gcdDerivZ, info)); 2268 2273 appendSwapDecompress (factorsG, contentAFactors, N, swapLevel, x); 2269 normalize (factorsG); 2274 if (!extension) 2275 normalize (factorsG); 2270 2276 return factorsG; 2271 2277 } … … 2333 2339 multiFactorize (A/g, info)); 2334 2340 appendSwapDecompress (factorsG, contentAFactors, N, swapLevel, x); 2335 normalize (factorsG); 2341 if (!extension) 2342 normalize (factorsG); 2336 2343 delete [] bufAeval2; 2337 2344 delete [] Aeval2; … … 2380 2387 appendSwapDecompress (factors, contentAFactors, N, swapLevel, 2381 2388 swapLevel2, x); 2382 normalize (factors); 2389 if (!extension) 2390 normalize (factors); 2383 2391 delete [] bufAeval2; 2384 2392 delete [] Aeval2; … … 2435 2443 appendSwapDecompress (factors, contentAFactors, N, swapLevel, 2436 2444 swapLevel2, x); 2437 normalize (factors); 2445 if (!extension) 2446 normalize (factors); 2438 2447 delete [] Aeval2; 2439 2448 return factors; … … 2468 2477 appendSwapDecompress (factors, contentAFactors, N, swapLevel, 2469 2478 swapLevel2, x); 2470 normalize (factors); 2479 if (!extension) 2480 normalize (factors); 2471 2481 delete [] Aeval2; 2472 2482 return factors; … … 2614 2624 appendSwapDecompress (factors, contentAFactors, N, swapLevel, 2615 2625 swapLevel2, x); 2616 normalize (factors); 2626 if (!extension) 2627 normalize (factors); 2617 2628 delete [] index; 2618 2629 delete [] Aeval2; … … 2959 2970 && fdivides (getVars (LCmultiplier), testVars)) 2960 2971 { 2972 LCheuristic= true; 2961 2973 int index; 2962 2974 Variable xx; … … 3234 3246 append (factors, contentAFactors); 3235 3247 decompress (factors, N); 3236 normalize (factors); 3248 if (!extension) 3249 normalize (factors); 3237 3250 3238 3251 delete[] liftBounds;
Note: See TracChangeset
for help on using the changeset viewer.