Changeset 308757 in git for kernel/ideals.cc


Ignore:
Timestamp:
Apr 2, 2008, 10:09:32 AM (15 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a657104b677b4c461d018cbf3204d72d34ad66a9')
Children:
e2a25ef5bf4799a4cf39ed869c34d7dc56eb7ef7
Parents:
9676ea20c5b413901217dc054c67c5e9b03a512a
Message:
*hannes: OPT_RETURN_SB in idSect


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

Legend:

Unmodified
Added
Removed
  • kernel/ideals.cc

    r9676ea r308757  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ideals.cc,v 1.51 2008-03-20 10:58:24 Singular Exp $ */
     4/* $Id: ideals.cc,v 1.52 2008-04-02 08:09:32 Singular Exp $ */
    55/*
    66* ABSTRACT - all basic methods to manipulate ideals
     
    11441144
    11451145  idSkipZeroes(result);
    1146   return result;
     1146  if (TEST_OPT_RETURN_SB)
     1147  {
     1148     temp1=kStd(result,currQuotient,testHomog,&w);
     1149     if (w!=NULL) delete w;
     1150     idDelete(&result);
     1151     return temp1;
     1152  }
     1153  else //temp1=kInterRed(result,currQuotient);
     1154    return result;
    11471155}
    11481156
     
    12331241
    12341242  /* interprete result ----------------------------------------*/
    1235   result = idInit(8,maxrk);
     1243  result = idInit(IDELEMS(tempstd),maxrk);
    12361244  k = 0;
    12371245  for (j=0;j<IDELEMS(tempstd);j++)
     
    12391247    if ((tempstd->m[j]!=NULL) && (p_GetComp(tempstd->m[j],syz_ring)>syzComp))
    12401248    {
    1241       if (k>=IDELEMS(result))
    1242       {
    1243         pEnlargeSet(&(result->m),IDELEMS(result),8);
    1244         IDELEMS(result) += 8;
    1245       }
    12461249      if (syz_ring==orig_ring)
    12471250        p = pCopy(tempstd->m[j]);
Note: See TracChangeset for help on using the changeset viewer.