Changeset 2268ed in git for kernel/GBEngine/kstd2.cc


Ignore:
Timestamp:
Jun 16, 2016, 3:48:35 PM (8 years ago)
Author:
Adi Popescu <adi_popescum@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'fc741b6502fd8a97288eaa3eba6e5220f3c3df87')
Children:
a63783098c106e45b49628a363a780d9533a027f
Parents:
72fd164d224c701f45aaf30d20586e1bb5edc133
Message:
fix: segfault in postreducebymon/sig
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/GBEngine/kstd2.cc

    r72fd16 r2268ed  
    780780      // over ZZ: cleanup coefficients by complete reduction with monomials
    781781      postReduceByMonSig(h, strat);
    782       if(nIsZero(pGetCoeff(h->p))) return 2;
     782      if(h->p == NULL || nIsZero(pGetCoeff(h->p))) return 2;
    783783      j = kFindDivisibleByInT(strat, h,start);
    784784      if(j < 0)
Note: See TracChangeset for help on using the changeset viewer.