From e7f91825ef05cd154f12d1a6050ef30ce07e00a0 Mon Sep 17 00:00:00 2001 From: SuperNiCd Date: Sat, 14 Aug 2021 14:05:48 -0400 Subject: [PATCH] fixes to paths and bitwise --- Bitwise.cpp | 4 ++-- Makefile | 2 +- toc.lua | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Bitwise.cpp b/Bitwise.cpp index dd8ac9e..548d1f9 100644 --- a/Bitwise.cpp +++ b/Bitwise.cpp @@ -91,7 +91,7 @@ void Bitwise::process() { aVal = a[i] * INT32_MAX; bVal = b[i] * INT32_MAX; - opVal = ~(aVal & bVal); + opVal = ~(aVal | bVal); outVal = (float) opVal / INT32_MAX; out[i] = outVal; } @@ -102,7 +102,7 @@ void Bitwise::process() { aVal = a[i] * INT32_MAX; bVal = b[i] * INT32_MAX; - opVal = ~(aVal & bVal); + opVal = ~(aVal ^ bVal); outVal = (float) opVal / INT32_MAX; out[i] = outVal; } diff --git a/Makefile b/Makefile index 2beafa7..8a0d5f0 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ # Override these defaults on the commandline: PKGNAME ?= Accents -PKGVERSION ?= 0.6.14 +PKGVERSION ?= 0.6.15 LIBNAME ?= libAccents ARCH ?= linux PROFILE ?= testing diff --git a/toc.lua b/toc.lua index cd16a18..8d1bb85 100644 --- a/toc.lua +++ b/toc.lua @@ -63,7 +63,7 @@ local units = { return { title = "Accents", name = "accents", - aliases = {"accents", "Accents"} + aliases = {"accents", "Accents"}, keyword = "accents", author = "Joe", units = units