diff options
author | elasota <ejlasota@gmail.com> | 2018-08-27 04:15:52 -0400 |
---|---|---|
committer | elasota <ejlasota@gmail.com> | 2018-08-27 04:15:52 -0400 |
commit | 0fe3bda9affa315268f4122319b73ce365a162b3 (patch) | |
tree | a1925cf6d85a7d52a730956f0d2cd77f60b01257 /thirdparty/cvtt | |
parent | f72f74486d3f07b2be0c6480c6c0d34edd47794f (diff) |
Fix CVTT scalar version not compiling
Diffstat (limited to 'thirdparty/cvtt')
-rw-r--r-- | thirdparty/cvtt/ConvectionKernels.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/thirdparty/cvtt/ConvectionKernels.cpp b/thirdparty/cvtt/ConvectionKernels.cpp index 5137e35730..8d379344e1 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; |