From 8e721e7dbd123fd14338b2780b534c6ba6bb383c Mon Sep 17 00:00:00 2001 From: Sebastian Hahta <joseha@utu.fi> Date: Sat, 4 Jul 2020 18:52:33 +0300 Subject: [PATCH] fix Windows build --- lib/libstereo/src/costs/gct.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libstereo/src/costs/gct.cu b/lib/libstereo/src/costs/gct.cu index f2b1a5d09..c99d9d407 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) { -- GitLab