From 71040ce7bba9fa84c3afcb8ab74af30965e0231f Mon Sep 17 00:00:00 2001 From: Sebastian Hahta <joseha@utu.fi> Date: Sat, 4 Jul 2020 18:44:19 +0300 Subject: [PATCH] fix build on Windows --- lib/libstereo/src/costs/census.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libstereo/src/costs/census.hpp b/lib/libstereo/src/costs/census.hpp index 2690ddfa7..cb577bfd7 100644 --- a/lib/libstereo/src/costs/census.hpp +++ b/lib/libstereo/src/costs/census.hpp @@ -58,7 +58,7 @@ namespace impl { */ template<int SIZE> struct NormalizedHammingCost : DSImplBase<float> { - static_assert(SIZE%64 == 0); + static_assert(SIZE%64 == 0, "size must be multiple of 64"); typedef float Type; -- GitLab