diff --git a/expr.cpp b/expr.cpp index f593cf01..dc56aca7 100644 --- a/expr.cpp +++ b/expr.cpp @@ -810,8 +810,7 @@ lMatchingBoolType(const Type *type) { if (vt != NULL) return new VectorType(boolBase, vt->GetElementCount()); else { - Assert(CastType(type) != NULL || - CastType(type) != NULL); + Assert(Type::IsBasicType(type)); return boolBase; } }