2
0
Эх сурвалжийг харах

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

Fix CVTT scalar version not compiling
Rémi Verschelde 7 жил өмнө
parent
commit
439e562b1a

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