From 7cc5c4baac0633ce537a34abfb091e2602590484 Mon Sep 17 00:00:00 2001 From: wishfulwatermelon <68325028+wishfulwatermelon@users.noreply.github.com> Date: Tue, 21 Mar 2023 00:05:34 +0800 Subject: [PATCH] added brackets added brackets around j to account for cases like (a&b) --- ch2/lineards/bit_manipulation.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ch2/lineards/bit_manipulation.cpp b/ch2/lineards/bit_manipulation.cpp index 3d30874..98eafbd 100644 --- a/ch2/lineards/bit_manipulation.cpp +++ b/ch2/lineards/bit_manipulation.cpp @@ -3,10 +3,10 @@ #include using namespace std; -#define isOn(S, j) (S & (1<