Changeset 661ca5e in git for factory/fac_ezgcd.cc
- Timestamp:
- Nov 18, 2005, 11:03:50 AM (18 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- c9af86890bece3aba24c40591ef527d2394370da
- Parents:
- bcce2ee89fa798c449ace6ea211f4185b6b04abd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/fac_ezgcd.cc
rbcce2e r661ca5e 1 1 /* emacs edit mode for this file is -*- C++ -*- */ 2 /* $Id: fac_ezgcd.cc,v 1.2 2 2005-08-26 17:43:34 SingularExp $ */2 /* $Id: fac_ezgcd.cc,v 1.23 2005-11-18 10:03:49 pohl Exp $ */ 3 3 4 4 #include <config.h> … … 75 75 { 76 76 DEBDECLEVEL( cerr, "ezgcd" ); 77 return d * gcd( F, G ); 77 if(F.mvar()==G.mvar()) 78 d*=gcd(F,G); 79 return d; 78 80 } 79 81 else if ( gcd_test_one( F, G, false ) ) … … 236 238 // '(16*B^8-208*B^6*C+927*B^4*C^2-1512*B^2*C^3+432*C^4)' \ 237 239 // '(4*B^7*C^2-50*B^5*C^3+208*B^3*C^4-288*B*C^5)' 238 b.nextpoint _0();240 b.nextpoint(); 239 241 return ezgcd( F, G, b, true ); 240 242 } … … 314 316 bool ok; 315 317 if ( delta != 0 ) 316 b.nextpoint _0();318 b.nextpoint(); 317 319 DEBOUTLN( cerr, "ezgcd: (findeval) F = " << F <<", G="<< G); 318 320 DEBOUTLN( cerr, "ezgcd: (findeval) degF = " << degF << ", degG="<<degG ); … … 334 336 if ( ! ok ) 335 337 { 336 b.nextpoint _0();338 b.nextpoint(); 337 339 } 338 340 } while ( ! ok );
Note: See TracChangeset
for help on using the changeset viewer.