Fix a typo

This commit is contained in:
pyos 2018-05-08 16:02:32 +03:00
parent 2d70d9d601
commit f060883c4b

View File

@ -1085,7 +1085,7 @@ public:
{
using T0 = typename std::decay_t<decltype(type)>::FieldType;
using T1 = typename Op<T0>::ResultType;
if constexpr (Op<T1>::compilable)
if constexpr (Op<T0>::compilable)
{
auto & b = static_cast<llvm::IRBuilder<> &>(builder);
auto * v = nativeCast(b, types[0], values[0](), std::make_shared<DataTypeNumber<T1>>());