Changeset 5d5d79 in git for libpolys


Ignore:
Timestamp:
Sep 30, 2011, 1:57:50 PM (13 years ago)
Author:
Burcin Erocal <burcin@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
8476c2171201ca239a4e71474b2157cfcfee7d30
Parents:
9043345b54bd11e757c9df83bdf84b9be0bffab2
git-author:
Burcin Erocal <burcin@erocal.org>2011-09-30 13:57:50+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 16:13:51+01:00
Message:
Fix ringlist with coefficient domain GF.

Extraction of the parameter lead to a segfault before. Now we also print
the number of elements of the coefficient domain instead of the
characteristic. This behavior is compatible with legacy Singular.
File:
1 edited

Legend:

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

    r9043345 r5d5d79  
    553553    assume( R != NULL );
    554554    return R->names;
     555  }
     556  else if (nCoeff_is_GF(C))
     557  {
     558    return &(C->m_nfParameter);
    555559  }
    556560  return NULL;
Note: See TracChangeset for help on using the changeset viewer.