From 21719df6fde8ae3cee011ef7d9b4798405485083 Mon Sep 17 00:00:00 2001 From: Matt Pharr Date: Tue, 21 Aug 2012 16:39:36 -0700 Subject: [PATCH] remove assert that hit with fast-math if user defined their own functions named rcp() --- expr.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/expr.cpp b/expr.cpp index c57015ab..78c3cfd6 100644 --- a/expr.cpp +++ b/expr.cpp @@ -2157,7 +2157,6 @@ BinaryExpr::Optimize() { std::vector rcpFuns; m->symbolTable->LookupFunction("rcp", &rcpFuns); if (rcpFuns.size() > 0) { - AssertPos(pos, rcpFuns.size() == 2); Expr *rcpSymExpr = new FunctionSymbolExpr("rcp", rcpFuns, pos); ExprList *args = new ExprList(arg1, arg1->pos); Expr *rcpCall = new FunctionCallExpr(rcpSymExpr, args,