Changeset d51aaf in git


Ignore:
Timestamp:
Sep 2, 2020, 11:20:38 PM (4 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
Children:
6015d43818001eae2c8e1157be77b3944f869bc78f1635219415c362482d7b49d5e80499c31b7c2a
Parents:
ced67c888bea6db7d7957aa0ac765e2068833c3b
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2020-09-02 23:20:38+02:00
git-committer:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2020-09-02 23:21:20+02:00
Message:
p_IsConstant (instead of p_IsConstantPoly)
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • Singular/ipassign.cc

    rced67c rd51aaf  
    222222  {
    223223    poly n=DEN((fraction)(p));
    224     if(!p_IsConstantPoly(n,r->cf->extRing))
     224    if(!p_IsConstant(n,r->cf->extRing))
    225225    {
    226226      WarnS("denominator must be constant - ignoring it");
     
    343343  {
    344344    poly n=DEN((fraction)(p));
    345     if(!p_IsConstantPoly(n,currRing->cf->extRing))
     345    if(!p_IsConstant(n,currRing->cf->extRing))
    346346    {
    347347      WarnS("denominator must be constant - ignoring it");
  • libpolys/polys/clapconv.cc

    rced67c rd51aaf  
    325325
    326326    // test if denominator is constant
    327     if (!errorreported && !p_IsConstantPoly(DEN ((fraction)p_GetCoeff (p,r)),r->cf->extRing))
     327    if (!errorreported && !p_IsConstant(DEN ((fraction)p_GetCoeff (p,r)),r->cf->extRing))
    328328      WerrorS("conversion error: denominator!= 1");
    329329
     
    357357
    358358    // test if denominator is constant
    359     if (!p_IsConstantPoly(DEN ((fraction)p_GetCoeff (p,r)),r->cf->extRing))
     359    if (!p_IsConstant(DEN ((fraction)p_GetCoeff (p,r)),r->cf->extRing))
    360360      return FALSE;
    361361    pIter(p);
  • libpolys/polys/clapsing.cc

    rced67c rd51aaf  
    826826  p_Test(fac,r);
    827827  int e=0;
    828   if (!p_IsConstantPoly(fac,r))
     828  if (!p_IsConstant(fac,r))
    829829  {
    830830#ifdef FACTORIZE2_DEBUG
     
    11411141        prune (a);
    11421142#ifndef SING_NDEBUG
    1143     if ((r->cf->extRing!=NULL) && (!p_IsConstantPoly(ff,r)))
     1143    if ((r->cf->extRing!=NULL) && (!p_IsConstant(ff,r)))
    11441144    {
    11451145      singclap_factorize_retry++;
  • libpolys/polys/nc/old.gring.cc

    rced67c rd51aaf  
    33613361
    33623362  int *perm=(int *)omAlloc0((Rop->N+1)*sizeof(int));
    3363   if (!p_IsConstantPoly(p, Rop))
     3363  if (!p_IsConstant(p, Rop))
    33643364  {
    33653365    /* we know perm exactly */
Note: See TracChangeset for help on using the changeset viewer.