Changeset 70305c5 in git


Ignore:
Timestamp:
Mar 5, 2013, 2:26:03 PM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '5a0dde71de01068fad5736a17555c993ecbbf495')
Children:
24bddc389d70082bf25e49397ca06b884dabd5d3
Parents:
5cd658fabcce28dbb7023a9c7e470fea760e7090
Message:
fix: better error tests for alg.ext.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/ext_fields/algext.cc

    r5cd658f r70305c5  
    252252  p_Test((poly)a, naRing);
    253253  if((((poly)a)!=naMinpoly)
    254   && p_Totaldegree((poly)a, naRing) >= p_Totaldegree(naMinpoly, naRing))
    255   {
    256     Print("deg >= deg(minpoly) in %s:%d\n",f,l);
     254  && p_Totaldegree((poly)a, naRing) >= p_Totaldegree(naMinpoly, naRing)
     255  && (p_Totaldegree((poly)a, naRing)> 1)) // allow to output par(1)
     256  {
     257    dReportError("deg >= deg(minpoly) in %s:%d\n",f,l);
    257258    return FALSE;
    258259  }
Note: See TracChangeset for help on using the changeset viewer.