Browse Source

Merge pull request #21474 from elasota/fix-cvtt-scalar

Fix CVTT scalar version not compiling
Rémi Verschelde 7 năm trước cách đây
mục cha
commit
439e562b1a
1 tập tin đã thay đổi với 10 bổ sung0 xóa
  1. 10 0
      thirdparty/cvtt/ConvectionKernels.cpp

+ 10 - 0
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;