Changeset a122f4 in git for libpolys


Ignore:
Timestamp:
Mar 5, 2013, 11:50:59 AM (11 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
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.