diff --git a/lib/libstereo/src/costs/gct.cu b/lib/libstereo/src/costs/gct.cu index f2b1a5d099c600d17815fffaf83fe8e60e211f00..c99d9d4071e8c0347e2cec5fdf8d92fc202387fa 100644 --- a/lib/libstereo/src/costs/gct.cu +++ b/lib/libstereo/src/costs/gct.cu @@ -13,7 +13,7 @@ namespace algorithms { template<int BITS> struct GeneralizedCensusTransform { - static_assert(BITS%64 == 0); + static_assert(BITS%64 == 0, "size must be multiple of 64"); __host__ __device__ inline void compute(const int y, const int x, uint64_t* __restrict__ out) {