소스 검색

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

Fix CVTT scalar version not compiling
Rémi Verschelde 7 년 전
부모
커밋
439e562b1a
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  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;