diff options
Diffstat (limited to 'src/misc')
-rw-r--r-- | src/misc/vec/vecInt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/misc/vec/vecInt.h b/src/misc/vec/vecInt.h index 04f41b5b..545cf8a6 100644 --- a/src/misc/vec/vecInt.h +++ b/src/misc/vec/vecInt.h @@ -917,11 +917,11 @@ static inline int Vec_IntSum( Vec_Int_t * p ) SeeAlso [] ***********************************************************************/ -static inline int Vec_IntCountZero( Vec_Int_t * p ) +static inline int Vec_IntCountEntry( Vec_Int_t * p, int Entry ) { int i, Counter = 0; for ( i = 0; i < p->nSize; i++ ) - Counter += (p->pArray[i] == 0); + Counter += (p->pArray[i] == Entry); return Counter; } |