bug fix (and typo fix) for vector+scalar boolean operations

This commit is contained in:
Vern Paxson 2018-06-22 13:40:53 -07:00
parent cff68b4371
commit b811a8e7a6
2 changed files with 2 additions and 2 deletions

View file

@ -1798,7 +1798,7 @@ Val* BoolExpr::Eval(Frame* f) const
VectorVal* result = 0;
// It's either and EXPR_AND_AND or an EXPR_OR_OR.
// It's either an EXPR_AND_AND or an EXPR_OR_OR.
bool is_and = (tag == EXPR_AND_AND);
if ( scalar_v->IsZero() == is_and )