diff --git a/mace/kernels/resize_bicubic.h b/mace/kernels/resize_bicubic.h index 1da7c2b1f0873148d5e4cc563cb94fa2828177e8..4bef1c90d433661153eb1735ef4670a41dc3455d 100644 --- a/mace/kernels/resize_bicubic.h +++ b/mace/kernels/resize_bicubic.h @@ -54,7 +54,7 @@ inline const float* GetCoeffsTable() { } inline int64_t Bound(int64_t val, int64_t limit) { - return std::min(limit - 1ll, std::max(0ll, val)); + return std::min(limit - 1ll, std::max(0ll, val)); } inline void GetWeightsAndIndices(float scale, int64_t out_loc, int64_t limit,