Changeset e852aea in git for libpolys


Ignore:
Timestamp:
Nov 17, 2021, 12:09:26 PM (2 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
10ad90e879798ac9b4803eed6eec34d51b5051d2
Parents:
887cc834d31ba09d81f803f450eb5f14ea825eb1
Message:
fix: (possible) NULL coeffs in LP (use p_Head0)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/shiftop.cc

    r887cc83 re852aea  
    609609  p_mLPunshift(m2, r);
    610610
    611   m1 = p_Head(m1, r);
     611  m1 = p_Head0(m1, r);
    612612  for(int i = split + 1; i <= r->N; i++)
    613613  {
     
    796796{
    797797#ifdef SHIFT_MULT_COMPAT_MODE
    798   a = p_Head(a, r);
     798  a = p_Head0(a, r);
    799799  p_mLPunshift(a, r);
    800   b = p_Head(b, r);
     800  b = p_Head0(b, r);
    801801  p_mLPunshift(b, r);
    802802#endif
Note: See TracChangeset for help on using the changeset viewer.