Changeset a122f4 in git


Ignore:
Timestamp:
Mar 5, 2013, 11:50:59 AM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '5a0dde71de01068fad5736a17555c993ecbbf495')
Children:
5cd658fabcce28dbb7023a9c7e470fea760e7090
Parents:
59cc1350c67b816edfc3da74c6b2a52ecbe322cf
Message:
fix: n may be divisible by 2^...: not a bug(n==0) in this case
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/longrat.cc

    r59cc13 ra122f4  
    213213  if (a->s<2)
    214214  {
    215     if (a->n[0]._mp_d[0]==0)
     215    if ((a->n[0]._mp_d[0]==0)&&(a->n[0]._mp_alloc<=1))
    216216    {
    217217      Print("!!longrat: n==0 in %s:%d\n",f,l);
     
    19691969    }
    19701970  }
     1971  nlTest(u, NULL);
    19711972  return u;
    19721973}
Note: See TracChangeset for help on using the changeset viewer.