Changeset 70305c5 in git


Ignore:
Timestamp:
Mar 5, 2013, 2:26:03 PM (11 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '4a9821a93ffdc22a6696668bd4f6b8c9de3e6c5f')
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.