Ignore:
Timestamp:
Nov 24, 2011, 5:25:22 PM (12 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b9f50b373314e74e83c7c060a651dd2913e1f033')
Children:
48afda8604dc4572d40ecc987b43779dd42606d4
Parents:
ec2602c1b3d7f1425acc9f7584d48ac345dc7097af117a9cf0cc4842d683c9fd2c6e68a1b5b48d9d
Message:
Merge pull request #23 from steenpass/tests

changes to Singular test-suite: 
1. incompatibility with old Singular (better & consistent output) is declared to be a feature - not a bug!
2. new test: non-normalized output from zero_decomp (primdec.lib)
File:
1 edited

Legend:

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

    raf117a rf831299  
    113113  if (a == NULL) return TRUE;
    114114  p_Test((poly)a, naRing);
    115   assume(p_Totaldegree((poly)a, naRing) <= p_Totaldegree(naMinpoly, naRing));
     115  if(p_Totaldegree((poly)a, naRing) >= p_Totaldegree(naMinpoly, naRing))
     116  {
     117    Print("deg >= deg(minpoly) in %s:%d\n",f,l);
     118    return FALSE;
     119  }
    116120  return TRUE;
    117121}
     
    486490  poly aAsPoly;
    487491  const char * result = p_Read(s, aAsPoly, naRing);
     492  definiteReduce(aAsPoly, naMinpoly, cf);
    488493  *a = (number)aAsPoly;
    489494  return result;
Note: See TracChangeset for help on using the changeset viewer.