Changeset b5cd25f in git


Ignore:
Timestamp:
May 20, 2011, 10:25:53 AM (12 years ago)
Author:
Frank Seelisch <seelisch@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '00e2e9c41af3fde1273eb3633f4c0c7c3db2579d')
Children:
70b4f4613db72f20d5dc20493b7b6ff6414e661b
Parents:
20721265ad8d95578883f26318500530eacc7f96
Message:
bug fix for trac ticket #334

git-svn-id: file:///usr/local/Singular/svn/trunk@14234 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/longalg.cc

    r2072126 rb5cd25f  
    429429number naMult(number la, number lb)
    430430{
    431   if ((la==NULL) || (lb==NULL))
     431  if ((la==NULL) || (lb==NULL))   /* never occurs even when la or lb
     432                                     represents zero??? */
    432433    return NULL;
    433434
     
    467468  if (naMinimalPoly!=NULL)
    468469  {
    469     if (p_GetExp(lo->z,1,nacRing) >= p_GetExp(naMinimalPoly,1,nacRing))
     470    if ((lo->z != NULL) &&
     471        (p_GetExp(lo->z,1,nacRing) >= p_GetExp(naMinimalPoly,1,nacRing)))
    470472      lo->z = napRemainder(lo->z, naMinimalPoly);
    471473    if ((x!=NULL) &&
Note: See TracChangeset for help on using the changeset viewer.