Changeset 31469c in git


Ignore:
Timestamp:
May 2, 2017, 1:59:58 PM (7 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
e9098241b85debda13f26364cd87c4c04598ccec
Parents:
c3ef915cd8de6819a92d451d99f62ace24cc9cd4
Message:
doc: better variable names in kInline.h
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/GBEngine/kInline.h

    rc3ef915 r31469c  
    877877{
    878878
    879   poly np = p_LmInit(p, currRing, tailRing, tailBin);
    880   pNext(np) = pNext(p);
    881   pSetCoeff0(np, pGetCoeff(p));
    882   return np;
    883 }
    884 
    885 KINLINE poly k_LmInit_tailRing_2_currRing(poly p, ring tailRing, omBin lmBin)
    886 {
    887   poly np = p_LmInit(p, tailRing, currRing, lmBin);
    888   pNext(np) = pNext(p);
    889   pSetCoeff0(np, pGetCoeff(p));
    890   return np;
     879  poly t_p = p_LmInit(p, currRing, tailRing, tailBin);
     880  pNext(t_p) = pNext(p);
     881  pSetCoeff0(t_p, pGetCoeff(p));
     882  return t_p;
     883}
     884
     885KINLINE poly k_LmInit_tailRing_2_currRing(poly t_p, ring tailRing, omBin lmBin)
     886{
     887  poly p = p_LmInit(t_p, tailRing, currRing, lmBin);
     888  pNext(p) = pNext(t_p);
     889  pSetCoeff0(p, pGetCoeff(t_p));
     890  return p;
    891891}
    892892
Note: See TracChangeset for help on using the changeset viewer.