Changeset fd4146 in git
- Timestamp:
- Mar 20, 2012, 6:42:42 PM (11 years ago)
- Branches:
- (u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
- Children:
- 4e17e756636ff916fc6ee4d68b7d5079d2ba2642
- Parents:
- dc390ce13119de61633c0198d8b80e1e0d75c091
- git-author:
- Martin Lee <martinlee84@web.de>2012-03-20 18:42:42+01:00
- git-committer:
- Martin Lee <martinlee84@web.de>2012-04-04 14:42:27+02:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/facBivar.cc
rdc390c rfd4146 174 174 { 175 175 if (testPoint (F, result, -i)) 176 { 177 i= -i; 176 178 return result; 179 } 180 else if (i < 0) 181 i= -i; 177 182 } 178 183 k++; … … 489 494 bufAeval2= evalPoint (buf, bufEvaluation2); 490 495 491 492 496 // univariate factorization 493 497 TIMING_START (uni_factorize); … … 594 598 if (bufUniFactors.length() < uniFactors.length()) 595 599 { 596 if (evaluation != 0) 597 { 598 uniFactors= bufUniFactors; 599 Aeval= bufAeval; 600 evaluation= bufEvaluation; 601 } 602 } 603 } 604 bufEvaluation++; 605 bufEvaluation2++; 606 } 607 608 if (evaluation != 0 && (uniFactors.length() > uniFactors2.length() || 600 uniFactors= bufUniFactors; 601 Aeval= bufAeval; 602 evaluation= bufEvaluation; 603 } 604 } 605 if (bufEvaluation > 0) 606 bufEvaluation++; 607 else 608 bufEvaluation= -bufEvaluation + 1; 609 if (bufEvaluation > 0) 610 bufEvaluation2++; 611 else 612 bufEvaluation2= -bufEvaluation2 + 1; 613 } 614 615 if (uniFactors.length() > uniFactors2.length() || 609 616 (uniFactors.length() == uniFactors2.length() 610 && degs.getLength() > degs2.getLength())) )617 && degs.getLength() > degs2.getLength())) 611 618 { 612 619 degs= degs2;
Note: See TracChangeset
for help on using the changeset viewer.