<< " " << vals << std::endl;
std::unordered_map<TNode, Node, NodeHashFunction> evalAsNode;
Node ret = evalInternal(n, args, vals, evalAsNode).toNode();
- if (!ret.isNull())
+ // if we failed to evaluate
+ if (ret.isNull())
{
// maybe it was stored in the evaluation-as-node map
std::unordered_map<TNode, Node, NodeHashFunction>::iterator itn =
break;
}
case kind::MULT:
+ case kind::NONLINEAR_MULT:
{
Rational res = results[currNode[0]].d_rat;
for (size_t i = 1, end = currNode.getNumChildren(); i < end; i++)