Changeset 70d31a in git


Ignore:
Timestamp:
Jan 25, 2018, 3:03:49 PM (6 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
411e158b3db1df485b1277ea7b28b2cbd30d8a24
Parents:
d8e160cf22e3ab1ebcde894e878977e29f2d605c
Message:
fix: allow currRing==tailRing in cleanT
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/GBEngine/kutil.cc

    rd8e160c r70d31a  
    588588        if (strat->T[j].t_p != NULL)
    589589        {
    590           assume(p_shallow_copy_delete != NULL);
    591           pNext(p) = p_shallow_copy_delete(pNext(p),strat->tailRing,currRing,
     590          if (p_shallow_copy_delete!=NULL)
     591          {
     592            pNext(p) = p_shallow_copy_delete(pNext(p),strat->tailRing,currRing,
    592593                                           currRing->PolyBin);
     594          }
    593595          p_LmFree(strat->T[j].t_p, strat->tailRing);
    594596        }
     
    76357637        if (j < 0) break;
    76367638        With = &(strat->T[j]);
    7637         assume(With->GetpLength()==pLength(With->p != __null ? With->p : With->t_p));
     7639        assume(With->GetpLength()==pLength(With->p != __null ? With->p : With->t_p));
    76387640      }
    76397641      else
     
    76417643        With = kFindDivisibleByInS_T(strat, end_pos, &Ln, &With_s);
    76427644        if (With == NULL) break;
    7643         assume(With->GetpLength()==pLength(With->p != __null ? With->p : With->t_p));
     7645        assume(With->GetpLength()==pLength(With->p != __null ? With->p : With->t_p));
    76447646      }
    76457647      cnt--;
Note: See TracChangeset for help on using the changeset viewer.