Changeset 1e2299 in git for kernel/kInline.h


Ignore:
Timestamp:
Nov 11, 2013, 4:11:49 PM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
698762719003b98502be8a691df5f7e33b5b7481d0162f6514b574e86fe74e1d1b6ba6b05a5e24e3
Parents:
9adaafd4079eb433b20e12f6fa003e2399d8b46b
Message:
fix: module std in qring over ring coeffs (tr.501)

from master
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/kInline.h

    r9adaaf r1e2299  
    10201020  lcm = p_Init(leadRing);
    10211021
    1022   for (i = leadRing->N; i>=1; i--)
     1022  for (i = leadRing->N; i>=0; i--)
    10231023  {
    10241024    e1 = p_GetExp(p1,i,leadRing);
     
    10391039    p_SetExp(lcm,i,s, leadRing);
    10401040  }
    1041   if ((s=pGetComp(p1))!=0)
    1042   {
    1043     p_SetComp(lcm,s, leadRing);
    1044   }
    1045   else if ((s=pGetComp(p2))!=0)
    1046   {
    1047     p_SetComp(lcm,s, leadRing);
    1048   }
    1049   // else p_SetComp(lcm,0,tailRing); // done by p_Init
    10501041
    10511042  p_Setm(m1, tailRing);
Note: See TracChangeset for help on using the changeset viewer.