Changeset bb7308 in git


Ignore:
Timestamp:
Mar 10, 2014, 10:39:40 AM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
283b70e49eea4578aec6c525038a9ce8df08977bc28babd374c936b4453a17a240589e57257e80dd
Parents:
4ed86341d5d2626ed91cbd40751801c58a8be5ac
Message:
fix: rField_is... for RINGS
File:
1 edited

Legend:

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

    r4ed8634 rbb7308  
    416416#ifdef HAVE_RINGS
    417417static inline BOOLEAN rField_is_Ring_2toM(const ring r)
    418 { assume(r != NULL); assume(r->cf != NULL); return ( getCoeffType(r->cf) == n_Z2m && nCoeff_is_Ring_2toM(r->cf) ); }
     418{ assume(r != NULL); assume(r->cf != NULL); return ( nCoeff_is_Ring_2toM(r->cf) ); }
    419419
    420420static inline BOOLEAN rField_is_Ring_ModN(const ring r)
    421 { assume(r != NULL); assume(r->cf != NULL); return ( getCoeffType(r->cf) == n_Zn && nCoeff_is_Ring_ModN(r->cf) ); }
     421{ assume(r != NULL); assume(r->cf != NULL); return ( nCoeff_is_Ring_ModN(r->cf) ); }
    422422
    423423static inline BOOLEAN rField_is_Ring_PtoM(const ring r)
    424 { assume(r != NULL); assume(r->cf != NULL); return (getCoeffType(r->cf) == n_Znm && nCoeff_is_Ring_PtoM(r->cf) ); }
     424{ assume(r != NULL); assume(r->cf != NULL); return ( nCoeff_is_Ring_PtoM(r->cf) ); }
    425425
    426426static inline BOOLEAN rField_is_Ring_Z(const ring r)
    427 { assume(r != NULL); assume(r->cf != NULL); return (getCoeffType(r->cf) == n_Z && nCoeff_is_Ring_Z(r->cf) ); }
     427{ assume(r != NULL); assume(r->cf != NULL); return ( nCoeff_is_Ring_Z(r->cf) ); }
    428428
    429429static inline BOOLEAN rField_is_Ring(const ring r)
Note: See TracChangeset for help on using the changeset viewer.