From 8f74276edbe2cf8d62485ab6bd08c68198a1f0e8 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Thu, 22 Sep 2011 09:37:44 -0700 Subject: Initial changes to enable gate-level abstraction. --- src/misc/vec/vecInt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/misc/vec/vecInt.h') 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; } -- cgit v1.2.3