Changeset 9dd6270 in git for kernel/ideals.cc


Ignore:
Timestamp:
Mar 2, 2007, 10:25:56 AM (16 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
be5fcb007b3de5a139873cc1523021d204b5baa3
Parents:
4d50d8c4a5d37443bad73bab01c065bf8d7a4a6a
Message:
*hannes: idIs0


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

Legend:

Unmodified
Added
Removed
  • kernel/ideals.cc

    r4d50d8c r9dd6270  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ideals.cc,v 1.39 2007-02-16 10:50:10 motsak Exp $ */
     4/* $Id: ideals.cc,v 1.40 2007-03-02 09:25:56 Singular Exp $ */
    55/*
    66* ABSTRACT - all basic methods to manipulate ideals
     
    584584
    585585  if (h == NULL) return TRUE;
    586   i = IDELEMS(h);
    587   while ((i > 0) && (h->m[i-1] == NULL))
     586  i = IDELEMS(h)-1;
     587  while ((i >= 0) && (h->m[i] == NULL))
    588588  {
    589589    i--;
    590590  }
    591   if (i == 0)
     591  if (i < 0)
    592592    return TRUE;
    593593  else
Note: See TracChangeset for help on using the changeset viewer.