Changeset e96e92 in git
- Timestamp:
- Sep 12, 2008, 4:16:01 PM (15 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 7be8ecce7f47aa46d48a1b6537109c812b3ebdff
- Parents:
- 0007379bc6256aabf4e5ad04c01f5c36d37561f7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/clapsing.cc
r000737 re96e92 3 3 * Computer Algebra System SINGULAR * 4 4 ****************************************/ 5 // $Id: clapsing.cc,v 1.3 0 2008-07-16 12:50:01 Singular Exp $5 // $Id: clapsing.cc,v 1.31 2008-09-12 14:16:01 Singular Exp $ 6 6 /* 7 7 * ABSTRACT: interface between Singular and factory … … 238 238 if (currRing->minpoly!=NULL) 239 239 { 240 #if 0 240 241 #ifdef HAVE_LIBFAC_P 241 242 if (( nGetChar()==1 ) /* Q(a) */ && (!isOn(SW_USE_QGCD))) … … 255 256 else 256 257 #endif 257 { 258 #endif 259 { 260 bool b=isOn(SW_USE_QGCD); 261 if ( nGetChar()==1 ) On(SW_USE_QGCD); 258 262 CanonicalForm mipo=convSingTrFactoryP(((lnumber)currRing->minpoly)->z); 259 263 Variable a=rootOf(mipo); 260 264 CanonicalForm F( convSingAPFactoryAP( f,a ) ), G( convSingAPFactoryAP( g,a ) ); 261 265 res= convFactoryAPSingAP( gcd( F, G ) ); 266 if (!b) Off(SW_USE_QGCD); 262 267 } 263 268 }
Note: See TracChangeset
for help on using the changeset viewer.