Changeset 4154bb in git


Ignore:
Timestamp:
Sep 16, 2013, 4:39:31 PM (9 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '2234726c50d679d6664181a5c72f75a6fd64a787')
Children:
944a5ac946e2f8544123239e3a920b7d77e718e1
Parents:
d5cdf337c2c550eb851a3dbfb231f45857af1f8f
Message:
Fix "if (deg=0)" in new exp. coeffs (see issue #374)
Location:
libpolys/coeffs
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/AE.cc

    rd5cdf33 r4154bb  
    845845int int_poly::is_one()
    846846{
    847     if (deg=0)
     847    if (deg==0)
    848848    {
    849849        if (mpz_cmpabs_ui(coef[0],1)==0) { return 1; }
  • libpolys/coeffs/AEQ.cc

    rd5cdf33 r4154bb  
    756756int Q_poly::is_one()
    757757{
    758     if (deg=0)
     758    if (deg==0)
    759759    {
    760760        if (mpz_cmp(coef[0],denom)==0) { return 1; }
  • libpolys/coeffs/AEp.cc

    rd5cdf33 r4154bb  
    867867int p_poly::is_one()
    868868{
    869     if (deg=0)
     869    if (deg==0)
    870870    {
    871871        if (mpz_cmp_ui(coef[0],1)==0) { return 1; }
Note: See TracChangeset for help on using the changeset viewer.