pac: fix bug when checking for symb_ids

parent 9632b18c
......@@ -5661,7 +5661,7 @@ BinaryOpNode::getPacAREC(int lhs_symb_id, int lhs_orig_symb_id,
vid = vn1->symb_id;
lag = vn1->lag;
}
if (pid > 0 && vid > 0)
if (pid >= 0 && vid >= 0)
{
int vidorig = vid;
while (datatree.symbol_table.isAuxiliaryVariable(vid))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment