Ignore:
Timestamp:
Mar 20, 2012, 3:33:34 PM (11 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'd1ba061a762c62d3a25159d8da8b6e17332291fa')
Children:
7e9f1298826e9e80c154aaa465935c0ba2acad38
Parents:
dd668fd21e0141dd6716d45d63f34e6ca84d230f
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-03-20 15:33:34+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-03-23 16:06:34+01:00
Message:
elimination of rMinpolyIsNULL in favour of nCoeff_is_algExt

fix rMinpolyIsNULL (idIs0)

TODO: remove rMinpolyIsNULL it completely!
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/monomials/ring.h

    rdd668f rbcfd11a  
    649649
    650650/// Tests whether '(r->cf->minpoly) == NULL'
    651 BOOLEAN rMinpolyIsNULL(const ring r);
     651static inline BOOLEAN rMinpolyIsNULL(const ring r)
     652{
     653  assume(r != NULL);
     654  const coeffs C = r->cf;
     655  assume(C != NULL);
     656
     657  const BOOLEAN ret = nCoeff_is_algExt(C); //  || nCoeff_is_GF(C) || nCoeff_is_long_C(C);
     658
     659  if( ret )
     660  {
     661    const ring R = C->extRing;
     662    assume( R != NULL );
     663    BOOLEAN idIs0 (ideal h);
     664    assume( !idIs0(R->qideal) );
     665  }
     666
     667  // TODO: this leads to test fails (due to rDecompose?)
     668  return !ret;
     669}
     670
    652671
    653672
Note: See TracChangeset for help on using the changeset viewer.