summaryrefslogtreecommitdiffstats
path: root/src/aig/gia/giaHash.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/aig/gia/giaHash.c')
-rw-r--r--src/aig/gia/giaHash.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/aig/gia/giaHash.c b/src/aig/gia/giaHash.c
index c80f9e07..c6067312 100644
--- a/src/aig/gia/giaHash.c
+++ b/src/aig/gia/giaHash.c
@@ -798,6 +798,13 @@ int Gia_ManHashAndMulti( Gia_Man_t * p, Vec_Int_t * vLits )
assert( Vec_IntSize(vLits) == 1 );
return Vec_IntEntry(vLits, 0);
}
+int Gia_ManHashAndMulti2( Gia_Man_t * p, Vec_Int_t * vLits )
+{
+ int i, iLit, iRes = 1;
+ Vec_IntForEachEntry( vLits, iLit, i )
+ iRes = Gia_ManHashAnd( p, iRes, iLit );
+ return iRes;
+}
////////////////////////////////////////////////////////////////////////
/// END OF FILE ///