From bda566d6a70e6cafb2fb401e45f1408a20622b9f Mon Sep 17 00:00:00 2001 From: Matt Pharr Date: Wed, 1 Aug 2012 08:11:08 -0700 Subject: [PATCH] Fix incorrect assertion --- expr.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; } }