Closed Light-of-Hers closed 4 years ago
https://github.com/dmlc/dmlc-core/blob/ae98c553992eb9f8039fb6e1d17286c0698985de/include/dmlc/logging.h#L192 It may cause some problems that "x" and "y" are not enclosed in parentheses. For example, in tvm/src/runtime/ndarray.cc:58 CHECK_EQ(dtype.bits & (dtype.bits - 1), 0);
CHECK_EQ(dtype.bits & (dtype.bits - 1), 0);
Thanks @Light-of-Hers for reporting the issue, cc @junrushao1994 @okuvshynov
I can fix it a little later today
https://github.com/dmlc/dmlc-core/pull/621
Thanks @Light-of-Hers @okuvshynov
https://github.com/dmlc/dmlc-core/blob/ae98c553992eb9f8039fb6e1d17286c0698985de/include/dmlc/logging.h#L192 It may cause some problems that "x" and "y" are not enclosed in parentheses. For example, in tvm/src/runtime/ndarray.cc:58
CHECK_EQ(dtype.bits & (dtype.bits - 1), 0);