Changeset ae3d1f in git
- Timestamp:
- Jan 31, 2006, 10:42:23 AM (18 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 66b5b8c82efc6d9d9508f5ee9f49a7644f2635fe
- Parents:
- ae2e227aeba249ea683ac81f35b40451d859514e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/cf_gcd.cc
rae2e227 rae3d1f 1 1 /* emacs edit mode for this file is -*- C++ -*- */ 2 /* $Id: cf_gcd.cc,v 1.3 6 2005-12-12 15:42:36 SingularExp $ */2 /* $Id: cf_gcd.cc,v 1.37 2006-01-31 09:42:23 pohl Exp $ */ 3 3 4 4 #include <config.h> … … 427 427 { 428 428 if ( getCharacteristic() != 0 ) { 429 return gcd_poly1( f, g, false ); 429 if (! ( f.isUnivariate() && g.isUnivariate() ) ) { 430 CFMap M, N; 431 compress( f, g, M, N ); 432 return N( gcd_poly1( M(f), M(g), false ) ); 433 } 434 else 435 return gcd_poly1( f, g, false ); 430 436 } 431 437 else if ( isOn( SW_USE_EZGCD ) && ! ( f.isUnivariate() && g.isUnivariate() ) ) {
Note: See TracChangeset
for help on using the changeset viewer.