Add brackets around HMM_MIN, HMM_MAX, and HMM_MOD (#133)

* Add brackets around HMM_MIN and HMM_MAX

* Add brackets around HMM_MOD
This commit is contained in:
Wayde Reitsma
2021-03-25 01:54:13 +11:00
committed by GitHub
parent 1f0c6ba493
commit 655c662528

View File

@@ -217,10 +217,10 @@ extern "C"
#define HMM_PI32 3.14159265359f
#define HMM_PI 3.14159265358979323846
#define HMM_MIN(a, b) (a) > (b) ? (b) : (a)
#define HMM_MAX(a, b) (a) < (b) ? (b) : (a)
#define HMM_MIN(a, b) ((a) > (b) ? (b) : (a))
#define HMM_MAX(a, b) ((a) < (b) ? (b) : (a))
#define HMM_ABS(a) ((a) > 0 ? (a) : -(a))
#define HMM_MOD(a, m) ((a) % (m)) >= 0 ? ((a) % (m)) : (((a) % (m)) + (m))
#define HMM_MOD(a, m) (((a) % (m)) >= 0 ? ((a) % (m)) : (((a) % (m)) + (m)))
#define HMM_SQUARE(x) ((x) * (x))
#ifndef HMM_PREFIX