summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2016-07-07 21:53:30 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-07-07 21:53:30 +0000
commitdf921799727f4dcc9ae11c579c1428cc45444fa6 (patch)
tree27cb740b2ee796284778a09c80cf2f17f6d7c4b0
parente616f790e5f015e435405eae479d82d93dcdc606 (diff)
parent683e1d1d6da39fb6614b072af00915ec506edfa7 (diff)
downloadml-df921799727f4dcc9ae11c579c1428cc45444fa6.tar.gz
Merge \\\"Fix misc-macro-parentheses warnings in frameworks/ml.\\\" am: 5f58ad9b94 am: 4745c0f6f0
am: 683e1d1d6d Change-Id: I38eae3863b1902f30ba7ded94c52485b24b7a6ff
-rw-r--r--bordeaux/learning/stochastic_linear_ranker/native/common_defs.h2
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