Changeset 73a9ffb in git for libpolys/coeffs/coeffs.h
- Timestamp:
- May 26, 2011, 10:29:03 AM (12 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- 488808e90a9444d2ce5d16be059643fdd2e8629e
- Parents:
- e676cdf123bc41ae953d7fd58106263f5fd02d0c
- git-author:
- Frank Seelisch <seelisch@mathematik.uni-kl.de>2011-05-26 10:29:03+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:36:53+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/coeffs/coeffs.h
re676cd r73a9ffb 217 217 unsigned long mod2mMask; 218 218 #endif 219 int ch; /* characteristic, rInit 220 PLEASE DOCUMENT HERE when this will be negative! */ 219 int ch; /* characteristic, set by the local *InitChar methods; 220 In field extensions or extensions towers, the 221 characteristic can be accessed from any of the 222 intermediate extension fields, i.e., in this case 223 it is redundant along the chain of field extensions; 224 CONTRARY to SINGULAR as it was, we do NOT LONGER use 225 negative values for ch. */ 221 226 222 227 short float_len; /* additional char-flags, rInit */ … … 459 464 return (r->ringtype == 0) && 460 465 ((getCoeffType(r)==n_algExt) || (getCoeffType(r)==n_transExt)) && 461 (r->ch < -1);466 (r->ch != 0); 462 467 } 463 468 … … 469 474 return (r->ringtype == 0) && 470 475 ((getCoeffType(r)==n_algExt) || (getCoeffType(r)==n_transExt)) && 471 (r->ch < -1 ) && (-(r->ch)== p);476 (r->ch != 0) && (r->ch == p); 472 477 } 473 478
Note: See TracChangeset
for help on using the changeset viewer.