Changeset 9e26458 in git


Ignore:
Timestamp:
Feb 29, 2012, 7:12:06 PM (12 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
fc27468621ec9097867dc720d52d6c16471de8d3
Parents:
daaa28acdf47b75683f8dc1e94ecd45b15550c36
git-author:
Martin Lee <martinlee84@web.de>2012-02-29 19:12:06+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-03-05 16:52:12+01:00
Message:
fix: avoid wrong registration of coeffs 'integer'
fix: removed an unneccessary p_Test
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Singular/ipshell.cc

    rdaaa28 r9e26458  
    51415141    // module is 0 ---> integers ringtype = 4;
    51425142    // we have an exponent
    5143     if (modExponent > 1)
     5143    if (modExponent > 1 && cf == NULL)
    51445144    {
    51455145      if ((mpz_cmp_ui(modBase, 2) == 0) && (modExponent <= 8*sizeof(NATNUMBER)))
     
    51575157    }
    51585158    // just a module m > 1
    5159     else
     5159    else if (cf == NULL)
    51605160    {
    51615161      ringtype = 2;
  • libpolys/polys/monomials/p_polys.cc

    rdaaa28 r9e26458  
    35493549        n_Normalize(n, dst->cf);
    35503550
    3551       p_GetCoeff(qq, dst) = n;
    3552       // coef may be zero:
    3553       p_Test(qq, dst);
     3551      p_GetCoeff(qq, dst) = n;// Note: n can be a ZERO!!!
     3552      // coef may be zero: 
     3553//      p_Test(qq, dst);
    35543554    }
    35553555    else
Note: See TracChangeset for help on using the changeset viewer.