Changeset b866080 in git for kernel/GBEngine/kutil.cc


Ignore:
Timestamp:
Jan 26, 2018, 5:27:10 PM (6 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
Children:
200bd2058dda845e1914d1b2528dbee74a291ce94a69ab523fdf372f3bd224756b6af439319b1f62
Parents:
852347b1c84ce254976a8014d92cc7a41784c363
Message:
fix: free /shift algebra: use T.p instead of T.t_p
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/GBEngine/kutil.cc

    r852347 rb866080  
    1208012080  {
    1208112081    memset(&h,0,sizeof(h));
    12082     h.p =  strat->S[i]; // lm in currRing, tail in TR
     12082    h.p =  strat->S[i];
    1208312083    strat->initEcart(&h);
    1208412084    h.sev = strat->sevS[i];
     
    1273312733  {
    1273412734    qq      = p; //qq.Copy();
    12735     qq.p    = NULL;
     12735    qq.t_p=NULL;
    1273612736    qq.max_exp  = NULL;
    12737     if (p.t_p!=NULL)
    12738       qq.t_p = p_LPshift(p_Copy(p.t_p,strat->tailRing), i, uptodeg, lV, strat->tailRing); // direct shift
    12739     else
     12737    if (p.p!=NULL)
    1274012738      qq.p = p_LPshift(p_Copy(p.p,currRing), i, uptodeg, lV, currRing); // direct shift
    12741     qq.GetP();
     12739    qq.GetTP();
    1274212740    // update q.sev
    1274312741    qq.sev = pGetShortExpVector(qq.p);
Note: See TracChangeset for help on using the changeset viewer.