Ignore:
Timestamp:
Feb 2, 2011, 6:07:23 PM (13 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
Children:
4581a96e8a3be34bc5a0c30e5cc4415cf45006fc
Parents:
35eaf8ae5934ce9436edde9d1dca609b9055264d
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-02-02 18:07:23+01:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 11:59:27+01:00
Message:
- further template fix: added "__T" suffix to _all_ labels (incl. func. names!)
- todo: finish p_Numbers.h
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/templates/p_Mult_nn__T.cc

    r35eaf8 r38500a  
    1717 *
    1818 ***************************************************************/
    19 LINKAGE poly p_Mult_nn(poly p, const number n, const ring r)
     19LINKAGE poly p_Mult_nn__T(poly p, const number n, const ring r)
    2020{
    21   pAssume(!n_IsZero(n,r));
     21  pAssume(!n_IsZero__T(n,r));
    2222  p_Test(p, r);
    2323
     
    2929  {
    3030#ifndef HAVE_ZERODIVISORS
    31     n_InpMult(pGetCoeff(p), n, r);
     31    n_InpMult__T(pGetCoeff(p), n, r);
    3232    pIter(p);
    3333#else
    34     number tmp = n_Mult(n, pGetCoeff(p), r);
     34    number tmp = n_Mult__T(n, pGetCoeff(p), r);
    3535    if (!nIsZero(tmp))
    3636    {
    3737       number nc = pGetCoeff(p);
    3838       p_SetCoeff0(p, tmp, r);
    39        n_Delete(&nc, r);
     39       n_Delete__T(&nc, r);
    4040       old = p;
    4141       pIter(p);
     
    4343    else
    4444    {
    45       n_Delete(&tmp, r);
     45      n_Delete__T(&tmp, r);
    4646      if (old == NULL)
    4747      {
Note: See TracChangeset for help on using the changeset viewer.