Changeset 161e20 in git for libpolys


Ignore:
Timestamp:
Mar 5, 2013, 4:43:21 PM (11 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
Children:
e5c9e5dbb80128bf16b1133a4ea7441e35faa79d
Parents:
0c85f5b430f03235e2be17c77b2811ebf3c1df3f
Message:
fix: for PLURAL: len(p) != len(m*p)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/kbuckets.cc

    r0c85f5b r161e20  
    744744    }
    745745#endif
     746#ifdef HAVE_PLURAL
     747    if (rIsPluralRing(r))
     748    {
     749      l1 = pLength(p1);
     750      assume(pLength(p1) == l1);
     751    }
     752#endif
    746753    i = pLogLength(l1);
    747754  }
     
    760767#ifdef HAVE_RINGS
    761768      if (rField_is_Ring(r) && !(rField_is_Domain(r)))
     769      {
     770        l1 = pLength(p1);
     771        i = pLogLength(l1);
     772      }
     773#endif
     774#ifdef HAVE_PLURAL
     775      if (rIsPluralRing(r))
    762776      {
    763777        l1 = pLength(p1);
Note: See TracChangeset for help on using the changeset viewer.