Changeset b02269 in git


Ignore:
Timestamp:
Mar 4, 2024, 2:36:18 PM (8 weeks ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
d2ca037eda294f5a9081d6aab115683a0a1aa3e7
Parents:
2cc44e00db2df0b6d6fb812299f71efbbcb65e20
Message:
idIs0 for ideals with 0 entries
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/simpleideals.cc

    r2cc44e rb02269  
    962962//  if (h == NULL) return TRUE;
    963963
    964   for( int i = IDELEMS(h)-1; i >= 0; i-- )
    965     if(h->m[i] != NULL)
    966       return FALSE;
    967 
     964  if (h->m!=NULL)
     965  {
     966    for( int i = IDELEMS(h)-1; i >= 0; i-- )
     967      if(h->m[i] != NULL)
     968        return FALSE;
     969  }
    968970  return TRUE;
    969 
    970971}
    971972
Note: See TracChangeset for help on using the changeset viewer.