Changeset b347d6 in git


Ignore:
Timestamp:
Jun 21, 2022, 11:02:48 AM (22 months ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '4a9821a93ffdc22a6696668bd4f6b8c9de3e6c5f')
Children:
5f62529a0524e7312ffb6cce8cbca0e26c513a56
Parents:
14fd848a554177f5f5152caa05286921dd5886d4
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2022-06-21 11:02:48+02:00
git-committer:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2022-06-22 10:08:34+02:00
Message:
opt: hdegree.cc: hIndep, hCheckIndep
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/combinatorics/hdegree.cc

    r14fd84 rb347d6  
    375375  for (iv=(currRing->N); iv!=0 ; iv--)
    376376  {
    377     if (pure[iv])
    378       (*Set)[iv-1] = 0;
    379     else
    380       (*Set)[iv-1] = 1;
     377    (*Set)[iv-1] = (pure[iv]==0);
    381378  }
    382379  ISet = ISet->nx = (indset)omAlloc0Bin(indlist_bin);
     
    558555      for (iv=(currRing->N); iv; iv--)
    559556      {
    560         if (pure[iv])
    561           (*Set)[iv-1] = 0;
    562         else
    563           (*Set)[iv-1] = 1;
     557        (*Set)[iv-1] = (pure[iv]==0);
    564558      }
    565559    }
Note: See TracChangeset for help on using the changeset viewer.