Fix CVTT scalar version not compiling
This commit is contained in:
parent
f72f74486d
commit
0fe3bda9af
1 changed files with 10 additions and 0 deletions
10
thirdparty/cvtt/ConvectionKernels.cpp
vendored
10
thirdparty/cvtt/ConvectionKernels.cpp
vendored
|
@ -1420,6 +1420,16 @@ namespace cvtt
|
||||||
return v;
|
return v;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static bool MakeBoolInt16(bool b)
|
||||||
|
{
|
||||||
|
return b;
|
||||||
|
}
|
||||||
|
|
||||||
|
static bool MakeBoolFloat(bool b)
|
||||||
|
{
|
||||||
|
return b;
|
||||||
|
}
|
||||||
|
|
||||||
static bool AndNot(bool a, bool b)
|
static bool AndNot(bool a, bool b)
|
||||||
{
|
{
|
||||||
return a && !b;
|
return a && !b;
|
||||||
|
|
Loading…
Reference in a new issue