Changeset 794d7b in git for kernel/combinatorics


Ignore:
Timestamp:
May 27, 2015, 8:10:30 PM (9 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '38dfc5131670d387a89455159ed1e071997eec94')
Children:
bf36c4396e4648d6cbdf65b5e60114f31d6d9089
Parents:
5f24ecaed70bf73adc731329ee94492f147bbc03
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2015-05-27 20:10:30+02:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2015-05-27 21:24:40+02:00
Message:
Quotient ideal may be NULL :(
Location:
kernel/combinatorics
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/combinatorics/hdegree.cc

    r5f24ec r794d7b  
    7373{
    7474  id_Test(S, currRing);
    75   id_Test(Q, currRing);
     75  if( Q!=NULL ) id_Test(Q, currRing);
     76 
    7677  int  mc;
    7778  hexist = hInit(S, Q, &hNexist, currRing);
     
    212213{
    213214  id_Test(S, currRing);
    214   id_Test(Q, currRing);
     215  if( Q!=NULL ) id_Test(Q, currRing);
     216 
    215217  intvec *Set=new intvec((currRing->N));
    216218  int  mc,i;
     
    697699{
    698700  id_Test(S, currRing);
    699   id_Test(Q, currRing);
     701  if( Q!=NULL ) id_Test(Q, currRing);
     702 
    700703  int  di;
    701704  int  mc;
     
    797800{
    798801  id_Test(S, currRing);
    799   id_Test(Q, currRing);
     802  if( Q!=NULL ) id_Test(Q, currRing);
     803 
    800804  hDegree(S, Q);
    801805  return hMu;
     
    819823{
    820824  id_Test(S, currRing);
    821   id_Test(Q, currRing);
     825  if( Q!=NULL ) id_Test(Q, currRing);
     826 
    822827  int co, mu, l;
    823828  intvec *hseries2;
     
    841846{
    842847  id_TestTail(S, currRing, tailRing);
    843   id_TestTail(Q, currRing, tailRing);
     848  if (Q!=NULL) id_TestTail(Q, currRing, tailRing);
    844849
    845850  int  mc;
     
    915920{
    916921  id_TestTail(S, currRing, tailRing);
    917   id_TestTail(Q, currRing, tailRing);
     922  if (Q!=NULL) id_TestTail(Q, currRing, tailRing);
     923 
    918924  hDegree0(S, Q, tailRing);
    919925  return hMu;
     
    10001006{
    10011007  id_TestTail(S, currRing, tailRing);
    1002   id_TestTail(Q, currRing, tailRing);
     1008  if (Q!=NULL) id_TestTail(Q, currRing, tailRing);
     1009 
    10031010  int  i;
    10041011  int  k = ak;
     
    13331340ideal scKBase(int deg, ideal s, ideal Q, intvec * mv)
    13341341{
    1335   id_Test(Q, currRing);
     1342  if( Q!=NULL) id_Test(Q, currRing);
     1343 
    13361344  int  i, di;
    13371345  poly p;
     
    14011409{
    14021410  id_TestTail(ss, currRing, tailRing);
    1403   id_TestTail(Q, currRing, tailRing);
     1411  if (Q!=NULL) id_TestTail(Q, currRing, tailRing);
    14041412
    14051413  int  i, di;
  • kernel/combinatorics/hilb.cc

    r5f24ec r794d7b  
    12991299intvec * hFirstSeries(ideal S, intvec *modulweight, ideal Q, intvec *wdegree, ring tailRing)
    13001300{
    1301   id_TestTail(S, currRing, tailRing);
    1302   id_TestTail(Q, currRing, tailRing);
     1301  id_TestTail(S, currRing, tailRing); 
     1302  if (Q!= NULL) id_TestTail(Q, currRing, tailRing);
     1303 
    13031304  return hSeries(S, modulweight, 1, wdegree, Q, tailRing);
    13041305}
Note: See TracChangeset for help on using the changeset viewer.