Changeset 84dcd6b in git
 Timestamp:
 Jan 6, 2012, 6:28:00 PM (11 years ago)
 Branches:
 (u'jengelhdatetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0604212ebb110535022efecad887940825b97c3f')
 Children:
 c53fdcb0540662085a9f0550fb16457042f01035
 Parents:
 0e6668ef96c23537076f15491667b780427d0f91
 gitauthor:
 Martin Lee <martinlee84@web.de>20120106 18:28:00+01:00
 gitcommitter:
 Martin Lee <martinlee84@web.de>20120404 14:42:25+02:00
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

factory/facHensel.cc
r0e6668 r84dcd6b 564 564 { 565 565 CanonicalForm result= mulFLINTQa (F, G, alpha); 566 CanonicalForm test= F*G;567 if (test != result)568 printf ("FAILLLLLLLL\n");569 566 return result; 570 567 } 571 568 else if (!F.inCoeffDomain() && !G.inCoeffDomain()) 572 {573 CanonicalForm result= mulFLINTQ (F,G);574 CanonicalForm test= F*G;575 if (test != result)576 printf ("FAILLLLLLLL2\n");577 569 return mulFLINTQ (F, G); 578 }579 570 #endif 580 571 return F*G; … … 631 622 Variable alpha; 632 623 if (!hasFirstAlgVar (F, alpha) && !hasFirstAlgVar (G, alpha)) 633 { 634 CanonicalForm result= modFLINTQ (F,G); 635 CanonicalForm test= mod (F, G); 636 if (test != result) 637 printf ("FAILINMOD\n"); 638 return result; 639 //return modFLINTQ (F, G); 640 } 624 return modFLINTQ (F, G); 641 625 else 642 626 return mod (F, G); … … 697 681 Variable alpha; 698 682 if (!hasFirstAlgVar (F, alpha) && !hasFirstAlgVar (G, alpha)) 699 { 700 CanonicalForm result= divFLINTQ (F,G); 701 CanonicalForm test= div (F, G); 702 if (test != result) 703 printf ("FAILINDIV\n"); 704 return result; 705 //return divFLINTQ (F,G); 706 } 683 return divFLINTQ (F,G); 707 684 else 708 685 return div (F, G); … … 2165 2142 Variable alpha; 2166 2143 if (getCharacteristic() == 0 && !hasFirstAlgVar (F, alpha) && ! hasFirstAlgVar (G, alpha)) 2167 { 2168 CanonicalForm result= mulMod2FLINTQ (F, G, M); 2169 CanonicalForm test= mod (F*G, M); 2170 if (test != result) 2171 printf ("GOTTVERDAMMT\n"); 2172 return result; 2173 //return mulMod2FLINTQ (F, G, M); 2174 } 2144 return mulMod2FLINTQ (F, G, M); 2175 2145 #endif 2176 2146
Note: See TracChangeset
for help on using the changeset viewer.