Changeset c97005 in git
- Timestamp:
- Feb 20, 2006, 4:47:16 PM (18 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 954abc18e35905d98450e84f5a52562d71e4fc81
- Parents:
- 499d931ebb401eac6af5212a954bba0efafebd1c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/cf_gcd.cc
r499d93 rc97005 1 1 /* emacs edit mode for this file is -*- C++ -*- */ 2 /* $Id: cf_gcd.cc,v 1.4 1 2006-02-20 15:07:31Singular Exp $ */2 /* $Id: cf_gcd.cc,v 1.42 2006-02-20 15:47:16 Singular Exp $ */ 3 3 4 4 #include <config.h> … … 408 408 if ( getCharacteristic() != 0 ) 409 409 { 410 if ( f.mvar() != g.mvar() ) 410 if ( f.isUnivariate() && g.isUnivariate() ) 411 { 412 #ifdef HAVE_NTL 413 if ( (isOn(SW_USE_NTL_GCD_P)) 414 && isPurePoly(f) && isPurePoly(g)) 415 return gcd_poly_univar0(f, g, true); 416 #else 417 return gcd_poly_univar0( f, g, true ); 418 #endif 419 } 420 // now: f or g is not univariate 421 if (f.level() != g.level()) 411 422 { 412 423 CFMap M, N;
Note: See TracChangeset
for help on using the changeset viewer.