提交 a3fa3f85 编写于 作者: M minqiyang

Polish code

test=develop
上级 aa41ee75
...@@ -262,9 +262,9 @@ inline void throw_on_error(T e) { ...@@ -262,9 +262,9 @@ inline void throw_on_error(T e) {
#define __PADDLE_UNARY_COMPARE(COND, ...) \ #define __PADDLE_UNARY_COMPARE(COND, ...) \
do { \ do { \
auto cond = COND; \ auto __cond = COND; \
if (UNLIKELY(::paddle::platform::is_error(cond))) { \ if (UNLIKELY(::paddle::platform::is_error(__cond))) { \
::paddle::platform::throw_on_error(cond, ##__VA_ARGS__); \ ::paddle::platform::throw_on_error(__cond, ##__VA_ARGS__); \
} \ } \
} while (0) } while (0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册