Changeset 20722e4 in git for libfac/charset/csutil.cc
- Timestamp:
- Apr 28, 2006, 3:46:29 PM (17 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- a285490a201ea1e883f387408479c5758aaff48f
- Parents:
- f45bfb991cabced656e450cbed9e85720c469e54
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfac/charset/csutil.cc
rf45bfb r20722e4 2 2 //////////////////////////////////////////////////////////// 3 3 // emacs edit mode for this file is -*- C++ -*- 4 static char * rcsid = "$Id: csutil.cc,v 1. 9 2003-05-28 11:52:52Singular Exp $";4 static char * rcsid = "$Id: csutil.cc,v 1.10 2006-04-28 13:45:29 Singular Exp $"; 5 5 ///////////////////////////////////////////////////////////// 6 6 // FACTORY - Includes … … 227 227 CanonicalForm rem=f; 228 228 229 if ( rem!=0){229 if ( !(rem.isZero()) ){ 230 230 if ( getCharacteristic() > 0 ) 231 231 return num((rem/lc(rem))); … … 312 312 313 313 for ( CFIterator j=init; j.hasTerms(); j++ ) 314 if ( j.coeff() != 1) count += 1;314 if (!(j.coeff().isOne()) ) count += 1; 315 315 // if ( init != 1 ){ 316 316 // cout << "nopower: f is " << init << endl; … … 873 873 /* 874 874 $Log: not supported by cvs2svn $ 875 Revision 1.9 2003/05/28 11:52:52 Singular 876 *pfister/hannes: newfactoras, alg_gcd, divide (see bug_33) 877 875 878 Revision 1.8 2002/10/24 17:22:22 Singular 876 879 * hannes: factoring in alg.ext., alg_gcd, NTL stuff
Note: See TracChangeset
for help on using the changeset viewer.