Commit f25d369b authored by ltqin's avatar ltqin
Browse files

fix for ambiguity

parent a3f11fe9
......@@ -56,7 +56,7 @@ struct MaskUpperTringleFromBottomRightPredicate
__host__ __device__ void SetOffset(const index_t offset) { offset_ = offset; }
__host__ __device__ constexpr bool operator()(index_t m, index_t n) const
{
return n > m + offset_;
return n > (m + offset_);
}
__host__ __device__ constexpr bool
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment