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_mm__T.cc

    r35eaf8 r38500a  
    1717 *
    1818 ***************************************************************/
    19 LINKAGE poly p_Mult_mm(poly p, const poly m, const ring ri)
     19LINKAGE poly p_Mult_mm__T(poly p, const poly m, const ring ri)
    2020{
    2121  p_Test(p, ri);
     
    2828  DECLARE_LENGTH(const unsigned long length = ri->ExpL_Size);
    2929  const unsigned long* m_e = m->exp;
    30   pAssume(!n_IsZero(ln,ri));
     30  pAssume(!n_IsZero__T(ln,ri));
    3131
    3232#ifdef HAVE_ZERODIVISORS
     
    3636  {
    3737    pn = pGetCoeff(p);
    38     number tmp = n_Mult(ln, pn, ri);
     38    number tmp = n_Mult__T(ln, pn, ri);
    3939#ifdef HAVE_ZERODIVISORS
    40     if (n_IsZero(tmp, ri))
     40    if (n_IsZero__T(tmp, ri))
    4141    {
    42       n_Delete(&tmp, ri);
     42      n_Delete__T(&tmp, ri);
    4343      if (before == p)
    4444      {
     
    5757    {
    5858      pSetCoeff0(p, tmp);
    59       n_Delete(&pn, ri);
    60       p_MemAdd(p->exp, m_e, length);
    61       p_MemAddAdjust(p, ri);
     59      n_Delete__T(&pn, ri);
     60      p_MemAdd__T(p->exp, m_e, length);
     61      p_MemAddAdjust__T(p, ri);
    6262#ifdef HAVE_ZERODIVISORS
    6363      before = p;
Note: See TracChangeset for help on using the changeset viewer.