Changeset 8324cc in git for kernel/ideals.cc


Ignore:
Timestamp:
Feb 16, 2007, 11:50:10 AM (16 years ago)
Author:
Motsak Oleksandr <motsak@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
315ec157e2720c25cd94ca1aaa9d44b32f206ea3
Parents:
9f11abb403ae6e53eed165c175ee7a67230b969b
Message:
*motsak: corrected weights for idTestHomModule


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

Legend:

Unmodified
Added
Removed
  • kernel/ideals.cc

    r9f11ab r8324cc  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ideals.cc,v 1.38 2007-01-31 23:51:24 motsak Exp $ */
     4/* $Id: ideals.cc,v 1.39 2007-02-16 10:50:10 motsak Exp $ */
    55/*
    66* ABSTRACT - all basic methods to manipulate ideals
     
    29522952    if (p!=NULL) cmax=si_max(cmax,(int)pMaxComp(p)+1);
    29532953  }
     2954  if (w != NULL)
    29542955  if (w->length()+1 < cmax)
    29552956  {
     
    29572958    return FALSE;
    29582959  }
    2959   pSetModDeg(w);
     2960
     2961  if(w!=NULL)
     2962    pSetModDeg(w);
     2963
    29602964  for (i=length-1;i>=0;i--)
    29612965  {
     
    29722976        {
    29732977          //pWrite(q); wrp(p); Print(" -> %d - %d\n",d,pFDeg(p,currRing));
     2978          if(w!=NULL)
     2979            pSetModDeg(NULL);
    29742980          return FALSE;
    29752981        }
     
    29772983    }
    29782984  }
    2979   pSetModDeg(NULL);
     2985 
     2986  if(w!=NULL)
     2987    pSetModDeg(NULL);
     2988 
    29802989  return TRUE;
    29812990}
Note: See TracChangeset for help on using the changeset viewer.