summaryrefslogtreecommitdiffstats
path: root/src/misc/vec/vecInt.h
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2013-02-25 17:49:59 -0500
committerAlan Mishchenko <alanmi@berkeley.edu>2013-02-25 17:49:59 -0500
commitfe3b2e250bc642509e7c954b837d21d8c6bb8d42 (patch)
treee0fad6acf9e09e6aa8e700e9913c1baaa01d7abe /src/misc/vec/vecInt.h
parent89fafca3c657d1478cf2849eb12b1330b09a1d7b (diff)
downloadabc-fe3b2e250bc642509e7c954b837d21d8c6bb8d42.tar.gz
abc-fe3b2e250bc642509e7c954b837d21d8c6bb8d42.tar.bz2
abc-fe3b2e250bc642509e7c954b837d21d8c6bb8d42.zip
User-controlable SAT sweeper.
Diffstat (limited to 'src/misc/vec/vecInt.h')
-rw-r--r--src/misc/vec/vecInt.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/misc/vec/vecInt.h b/src/misc/vec/vecInt.h
index a7722866..7ba75c46 100644
--- a/src/misc/vec/vecInt.h
+++ b/src/misc/vec/vecInt.h
@@ -609,6 +609,11 @@ static inline void Vec_IntSetEntry( Vec_Int_t * p, int i, int Entry )
Vec_IntFillExtra( p, i + 1, 0 );
Vec_IntWriteEntry( p, i, Entry );
}
+static inline void Vec_IntSetEntryFull( Vec_Int_t * p, int i, int Entry )
+{
+ Vec_IntFillExtra( p, i + 1, -1 );
+ Vec_IntWriteEntry( p, i, Entry );
+}
/**Function*************************************************************