Changeset bb82f0 in git for factory/cf_gcd.cc
- Timestamp:
- Jun 16, 2008, 2:55:41 PM (16 years ago)
- Branches:
- (u'spielwiese', '4a9821a93ffdc22a6696668bd4f6b8c9de3e6c5f')
- Children:
- c99b6b9aa9684f111c07fca497f1d2256859ad05
- Parents:
- ca4a07322f31d377c0c316a145437504fb8e6be0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/cf_gcd.cc
rca4a073 rbb82f0 1 1 /* emacs edit mode for this file is -*- C++ -*- */ 2 /* $Id: cf_gcd.cc,v 1.6 1 2008-05-16 13:11:31 Singular Exp $ */2 /* $Id: cf_gcd.cc,v 1.62 2008-06-16 12:55:41 Singular Exp $ */ 3 3 4 4 #include <config.h> … … 16 16 #include "ftmpl_functions.h" 17 17 #include "ffreval.h" 18 #include "algext.h" 18 19 19 20 #ifdef HAVE_NTL … … 762 763 return cf_content( g, f ); 763 764 } 765 if (isOn(SW_USE_QGCD)) 766 { 767 Variable m; 768 if ((hasFirstAlgVar(f,m) || hasFirstAlgVar(g,m)) 769 //&& f.isUnivariate() 770 //&& g.isUnivariate() 771 && (getCharacteristic() == 0) 772 ) 773 return QGCD(f,g); 774 } 775 764 776 if ( f.inExtension() && getReduce( f.mvar() ) ) 765 return 1;777 return CanonicalForm(1); 766 778 else 767 779 { … … 1149 1161 } 1150 1162 } 1163 #include "algext.cc"
Note: See TracChangeset
for help on using the changeset viewer.