Changeset 6415435 in git


Ignore:
Timestamp:
Oct 20, 2022, 3:29:54 PM (18 months ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
Children:
eb05c0a5033d627c331baf94939608343ced73e8
Parents:
88faa1e0d57ca9a07c48e384ac5a3deef0f53534
Message:
fix: return int from pLength (compare to int length (-1 for unknown))
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/monomials/p_polys.h

    r88faa1 r6415435  
    189189* returns the length of a polynomial (numbers of monomials)
    190190*/
    191 static inline unsigned pLength(poly a)
    192 {
    193   unsigned l = 0;
     191static inline int pLength(poly a)
     192{
     193  int l = 0;
    194194  while (a!=NULL)
    195195  {
Note: See TracChangeset for help on using the changeset viewer.