Răsfoiți Sursa

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

Fix CVTT scalar version not compiling
Rémi Verschelde 7 ani în urmă
părinte
comite
439e562b1a
1 a modificat fișierele cu 10 adăugiri și 0 ștergeri
  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;