From 0fe3bda9affa315268f4122319b73ce365a162b3 Mon Sep 17 00:00:00 2001 From: elasota Date: Mon, 27 Aug 2018 04:15:52 -0400 Subject: [PATCH] Fix CVTT scalar version not compiling --- thirdparty/cvtt/ConvectionKernels.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/thirdparty/cvtt/ConvectionKernels.cpp b/thirdparty/cvtt/ConvectionKernels.cpp index 5137e357304..8d379344e10 100644 --- a/thirdparty/cvtt/ConvectionKernels.cpp +++ b/thirdparty/cvtt/ConvectionKernels.cpp @@ -1420,6 +1420,16 @@ namespace cvtt return v; } + static bool MakeBoolInt16(bool b) + { + return b; + } + + static bool MakeBoolFloat(bool b) + { + return b; + } + static bool AndNot(bool a, bool b) { return a && !b;