Changeset a497a1 in git for kernel/kInline.h


Ignore:
Timestamp:
Sep 10, 2012, 8:33:35 PM (11 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
Children:
36ebfaa4578b6a83a5511dbbc252bdd925f2845f
Parents:
fff61504bea4abfcad24fecfcec903e476caa188
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-09-10 20:33:35+02:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-09-10 20:41:23+02:00
Message:
replaced direct calls to ->p_Procs->* from kernel/kInline.h with appropriate wrappers

add: added another variant of p_Minus_mm_Mult_qq (with a reference to last)
chg: minor changes to p_Last
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/kInline.h

    rfff6150 ra497a1  
    2222
    2323#include <polys/monomials/p_polys.h>
    24 #include <polys/templates/p_Procs.h>
    2524#include <polys/kbuckets.h>
    2625
     
    311310{
    312311  if (t_p != NULL)
    313   {    t_p = tailRing->p_Procs->p_Mult_nn(t_p, n, tailRing);
     312  {    t_p = p_Mult_nn(t_p, n, tailRing);
    314313    if (p != NULL) pSetCoeff0(p, pGetCoeff(t_p));
    315314  }
     
    583582    poly _p = (t_p != NULL ? t_p : p);
    584583    assume(_p != NULL);
    585     pNext(_p) = tailRing->p_Procs->p_Mult_nn(pNext(_p), n, tailRing);
     584    pNext(_p) = p_Mult_nn(pNext(_p), n, tailRing);
    586585  }
    587586}
     
    598597    poly _p = (t_p != NULL ? t_p : p);
    599598    assume(_p != NULL);
    600     int shorter;
    601     pNext(_p) = tailRing->p_Procs->p_Minus_mm_Mult_qq(pNext(_p), m, q,
    602                                                       shorter,spNoether,
    603                                                       tailRing, last);
    604     pLength += lq - shorter;
     599
     600    pNext(_p) = p_Minus_mm_Mult_qq( pNext(_p), m, q, pLength, lq,
     601                                    spNoether, last, tailRing );
     602//    tailRing->p_Procs->p_Minus_mm_Mult_qq(pNext(_p), m, q, shorter,spNoether, tailRing, last);
     603//    pLength += lq - shorter;
    605604  }
    606605}
Note: See TracChangeset for help on using the changeset viewer.