Changeset fc2e0d in git for libpolys


Ignore:
Timestamp:
Feb 28, 2022, 9:46:20 PM (2 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
2ac2996adb80ea8b3ff2c1a9ae74b3d641edde0f
Parents:
70075debc39875c9ffdec250a52ca8c90a7f366c
Message:
opt: p_Normalize
File:
1 edited

Legend:

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

    r70075de rfc2e0d  
    38793879void p_Normalize(poly p,const ring r)
    38803880{
    3881   if ((rField_has_simple_inverse(r))  /* Z/p, GF(p,n), R, long R/C */
    3882   || (r->cf->cfNormalize==ndNormalize)) /* Nemo rings, ...*/
     3881  const coeffs cf=r->cf;
     3882  /* Z/p, GF(p,n), R, long R/C, Nemo rings */
     3883  if (cf->cfNormalize==ndNormalize)
    38833884    return;
    38843885  while (p!=NULL)
    38853886  {
    38863887    // no test befor n_Normalize: n_Normalize should fix problems
    3887     n_Normalize(pGetCoeff(p),r->cf);
     3888    n_Normalize(pGetCoeff(p),cf);
    38883889    pIter(p);
    38893890  }
Note: See TracChangeset for help on using the changeset viewer.