Changeset 7dc4d3a in git


Ignore:
Timestamp:
Feb 20, 2013, 12:17:07 PM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'cbf866d4f8c3861325311c042cb2033c053453b2')
Children:
13b815129e85a12ac3b739ab4f9e61e98ec5e01f
Parents:
c5ec76ba5ecfc1503166d48f26c3856b476dfcfae8fd3612c347181bd985178acf820bc3d70d0ef9
Message:
Merge pull request #289 from mmklee/fix_sw

fix: missing check for n_Zp
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/coeffs.h

    rc5ec76 r7dc4d3a  
    713713
    714714static inline BOOLEAN nCoeff_is_Zp(const coeffs r, int p)
    715 { assume(r != NULL); return (getCoeffType(r) && (r->ch == p)); }
     715{ assume(r != NULL); return ((getCoeffType(r)==n_Zp) && (r->ch == p)); }
    716716
    717717static inline BOOLEAN nCoeff_is_Q(const coeffs r)
Note: See TracChangeset for help on using the changeset viewer.