Changeset 3a961a in git for kernel/GBEngine/kspoly.cc


Ignore:
Timestamp:
Jul 5, 2018, 9:54:56 PM (5 years ago)
Author:
Karim Abou Zeid <karim23697@…>
Branches:
(u'spielwiese', 'e7cc1ebecb61be8b9ca6c18016352af89940b21a')
Children:
f6737053e8a61a659306021d5ac217163169d724
Parents:
c0632a415538219793d1d2b77ce38c37fcaf35f7
Message:
SHIFT_MULT_COMPAT_MODE is ready to be disabled now
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/GBEngine/kspoly.cc

    rc0632a4 r3a961a  
    788788  if (tailRing->isLPring)
    789789  {
    790     int split = p_FirstVblock(p1, tailRing);
     790    // note: because of the crits, p2 is never shifted
     791    int split = p_mFirstVblock(p1, tailRing);
    791792    // TODO: shouldn't we use p1 AND p2 here??
    792793    k_SplitFrame(m1, m12, split, tailRing);
     
    795796    n_Delete(&(m1->coef), tailRing->cf);
    796797    n_Delete(&(m2->coef), tailRing->cf);
     798
     799    a1 = p_LPshift(p_Copy(a1, tailRing), 1 - split, tailRing); // unshift a1
    797800  }
    798801
     
    842845  if (tailRing->isLPring) {
    843846    // get m2*a2*m22 - m1*a1*m12
    844     Pair->Tail_Minus_mm_Mult_qq(m1, tailRing->p_Procs->pp_Mult_mm(a1, m12, tailRing), l1, spNoether);
     847    Pair->Tail_Minus_mm_Mult_qq(m1, tailRing->p_Procs->p_Mult_mm(a1, m12, tailRing), l1, spNoether); // a1 is a copy: safe to destroy
    845848  } else {
    846849    // get m2*a2 - m1*a1
Note: See TracChangeset for help on using the changeset viewer.