Changeset 0c2088 in git


Ignore:
Timestamp:
Mar 12, 2011, 1:27:15 PM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '45e267b9942dec9429fe249ce3e5e44ab80a6a3a')
Children:
c45b8f0f687660a48dbd370b13e50f821a3fb531
Parents:
2d3daaf51cb8965cec6e1b16a205491494715b77
Message:
nacIsMOne removed

git-svn-id: file:///usr/local/Singular/svn/trunk@13963 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
kernel
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • kernel/longalg.cc

    r2d3daa r0c2088  
    175175  nacGreaterZero = nacRing->cf->nGreaterZero;
    176176  nacIsOne       = nacRing->cf->nIsOne;
    177   nacIsMOne      = nacRing->cf->nIsMOne;
    178177  nacGcd         = nacRing->cf->nGcd;
    179178  nacLcm         = nacRing->cf->nLcm;
     
    922921  if (a->n==NULL)
    923922  {
    924     if (p_LmIsConstant(a->z,nacRing)) return nacIsMOne(pGetCoeff(a->z));
     923    if (p_LmIsConstant(a->z,nacRing)) return n_IsMOne(pGetCoeff(a->z),nacRing);
    925924    /*else                   return FALSE;*/
    926925  }
  • kernel/longtrans.cc

    r2d3daa r0c2088  
    4747BOOLEAN     (*nacIsZero)(number a);
    4848BOOLEAN     (*nacIsOne)(number a);
    49 BOOLEAN     (*nacIsMOne)(number a);
    5049BOOLEAN     (*nacGreaterZero)(number a);
    5150number      (*nacMap)(number);
     
    104103  nacGreaterZero = nacRing->cf->nGreaterZero;
    105104  nacIsOne       = nacRing->cf->nIsOne;
    106   nacIsMOne      = nacRing->cf->nIsMOne;
    107105  nacGcd         = nacRing->cf->nGcd;
    108106  nacLcm         = nacRing->cf->nLcm;
     
    17421740  if (a->n==NULL)
    17431741  {
    1744     if (p_LmIsConstant(a->z,nacRing)) return nacIsMOne(pGetCoeff(a->z));
     1742    if (p_LmIsConstant(a->z,nacRing)) return n_IsMOne(pGetCoeff(a->z),nacRing);
    17451743    /*else                   return FALSE;*/
    17461744  }
  • kernel/longtrans.h

    r2d3daa r0c2088  
    117117extern BOOLEAN     (*nacIsZero)(number a);
    118118extern BOOLEAN     (*nacIsOne)(number a);
    119 extern BOOLEAN     (*nacIsMOne)(number a);
    120119extern BOOLEAN     (*nacGreaterZero)(number a);
    121120extern number      (*nacMap)(number);
Note: See TracChangeset for help on using the changeset viewer.