diff options
author | Chih-hung Hsieh <chh@google.com> | 2016-07-07 21:41:23 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2016-07-07 21:41:24 +0000 |
commit | 5f58ad9b943c9c72bbe047de5906ea798c1134a6 (patch) | |
tree | 27cb740b2ee796284778a09c80cf2f17f6d7c4b0 | |
parent | 1f0f8e1b401a3d06b89ce753ff1410dc5ba964c2 (diff) | |
parent | b156e69c07ac3c9450f830450b49afdd14c18df9 (diff) | |
download | ml-nougat-mr1-wear-release.tar.gz |
Merge "Fix misc-macro-parentheses warnings in frameworks/ml."android-wear-n-preview-2android-wear-7.1.1_r1android-n-preview-5android-n-iot-preview-2nougat-mr1-wear-releasen-iot-preview-2
-rw-r--r-- | bordeaux/learning/stochastic_linear_ranker/native/common_defs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bordeaux/learning/stochastic_linear_ranker/native/common_defs.h b/bordeaux/learning/stochastic_linear_ranker/native/common_defs.h index 597c4f195..4df8686c5 100644 --- a/bordeaux/learning/stochastic_linear_ranker/native/common_defs.h +++ b/bordeaux/learning/stochastic_linear_ranker/native/common_defs.h @@ -39,7 +39,7 @@ enum MulticlassUpdateType { MAX, RANK }; #define uint64 uint64_t #define int64 int64_t #include <cutils/log.h> -#define CHECK_GT(x,y) if (x<y) ALOGE("CHECK_GT failed at file %s line %d", \ +#define CHECK_GT(x,y) if ((x)<(y)) ALOGE("CHECK_GT failed at file %s line %d", \ __FILE__, __LINE__); #endif |