Changeset 9b29fa in git for libpolys/polys


Ignore:
Timestamp:
Aug 18, 2021, 8:39:14 PM (3 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'd08f5f0bb3329b8ca19f23b74cb1473686415c3a')
Children:
e1c59f805b1e25ffbe3c4f40b39d4b361fee2037
Parents:
d28095befe49d41be7cd3b72963b0f39b4bcd6cd
Message:
opt: rField_is_Ring
File:
1 edited

Legend:

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

    rd28095 r9b29fa  
    22832283{
    22842284  if (ph==NULL) return;
    2285   if (rField_is_Ring(r)) /*should not be called*/
     2285  if (nCoeff_is_Ring(r->cf)) /*should not be called*/
    22862286  {
    22872287    if(!n_GreaterZero(pGetCoeff(ph),r->cf)) ph = p_Neg(ph,r);
     
    23492349    return;
    23502350  }
    2351   if (rField_is_Ring(r)) /*should not be called*/
     2351  if (nCoeff_is_Ring(r->cf)) /*should not be called*/
    23522352  {
    23532353    if(!n_GreaterZero(pGetCoeff(ph),r->cf))
     
    26372637  if(TEST_OPT_CONTENTSB) return;
    26382638  if (ph==NULL) return;
    2639   if (rField_is_Ring(r)) /*should not be called*/
     2639  if (nCoeff_is_Ring(r->cf)) /*should not be called*/
    26402640  {
    26412641    return;
     
    29402940  number d, h;
    29412941
    2942   if (rField_is_Ring(r)) /*should not be called*/
     2942  if (nCoeff_is_Ring(r->cf)) /*should not be called*/
    29432943  {
    29442944    if(!n_GreaterZero(pGetCoeff(p),r->cf)) p = p_Neg(p,r);
     
    30633063#endif
    30643064
    3065   if (rField_is_Ring(r)) /*should not be called*/
     3065  if (nCoeff_is_Ring(r->cf)) /*should not be called*/
    30663066  {
    30673067    if(!n_GreaterZero(pGetCoeff(ph),C))
     
    38163816void p_Norm(poly p1, const ring r)
    38173817{
    3818   if (rField_is_Ring(r))
     3818  if (nCoeff_is_Ring(r->cf))
    38193819  {
    38203820    if(!n_GreaterZero(pGetCoeff(p1),r->cf)) p1 = p_Neg(p1,r);
Note: See TracChangeset for help on using the changeset viewer.