From 8c369788b310a8a1aa52a937c94df1327e13417a Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Tue, 25 Sep 2012 13:20:18 -0700 Subject: Improvements to the NPN semi-canonical form computation package. --- src/bool/lucky/luckySimple.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bool/lucky/luckySimple.c') diff --git a/src/bool/lucky/luckySimple.c b/src/bool/lucky/luckySimple.c index 52e5e13d..c38fc28c 100644 --- a/src/bool/lucky/luckySimple.c +++ b/src/bool/lucky/luckySimple.c @@ -87,7 +87,7 @@ int oneBitPosition(int x, int size) { int i; for(i=0;i>i)&1 == 1) + if((x>>i)&1) return i; return -1; } -- cgit v1.2.3