Changeset 188d2fb in git for factory/facFqBivar.cc
- Timestamp:
- Apr 2, 2012, 4:44:35 PM (12 years ago)
- Branches:
- (u'spielwiese', 'a719bcf0b8dbc648b128303a49777a094b57592c')
- Children:
- d2d057ebcf8b633c14f245b0c65e698c351e38e2
- Parents:
- 6f84545a3eb72153c8952ab0eb64df17cd00d1bb
- git-author:
- Martin Lee <martinlee84@web.de>2012-04-02 16:44:35+02:00
- git-committer:
- Martin Lee <martinlee84@web.de>2012-04-04 14:44:11+02:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/facFqBivar.cc
r6f84545 r188d2fb 488 488 bool recombination= false; 489 489 CanonicalForm test; 490 bool isRat= (isOn (SW_RATIONAL) && getCharacteristic() == 0) || getCharacteristic() > 0; 491 if (!isRat) 492 On (SW_RATIONAL); 490 493 CanonicalForm buf0= mulNTL (buf (0, x), LCBuf); 491 bool isRat= (isOn (SW_RATIONAL) && getCharacteristic() == 0) || getCharacteristic() > 0; 494 if (!isRat) 495 Off (SW_RATIONAL); 496 buf0= buf(0,x)*LCBuf; 492 497 while (T.length() >= 2*s && s <= thres) 493 498 { … … 559 564 l -= degree (g); 560 565 M= power (y, l); 566 buf0= mulNTL (buf (0, x), LCBuf); 561 567 if (!isRat) 562 568 Off (SW_RATIONAL); 563 buf0= mulNTL (buf (0, x), LCBuf);564 569 // compute new possible degree pattern 565 570 bufDegs2= DegreePattern (T); … … 678 683 adaptedLiftBound= 0; 679 684 int d= degree (F), l= 0; 685 bool isRat= (isOn (SW_RATIONAL) && getCharacteristic() == 0) || getCharacteristic() > 0; 686 if (!isRat) 687 On (SW_RATIONAL); 680 688 CanonicalForm buf0= mulNTL (buf (0,x), LCBuf); 681 689 CanonicalForm buf1= mulNTL (buf (1,x), LCBuf); 690 if (!isRat) 691 Off (SW_RATIONAL); 682 692 CanonicalForm test0, test1; 683 bool isRat= (isOn (SW_RATIONAL) && getCharacteristic() == 0) || getCharacteristic() > 0; 693 684 694 for (CFListIterator i= factors; i.hasItem(); i++, l++) 685 695 { … … 714 724 d -= degree (g); 715 725 LCBuf= LC (buf, x); 726 buf0= mulNTL (buf (0,x), LCBuf); 727 buf1= mulNTL (buf (1,x), LCBuf); 716 728 if (!isRat) 717 729 Off (SW_RATIONAL); 718 buf0= mulNTL (buf (0,x), LCBuf);719 buf1= mulNTL (buf (1,x), LCBuf);720 730 T= Difference (T, CFList (i.getItem())); 721 731 F= buf;
Note: See TracChangeset
for help on using the changeset viewer.