This fixes an assertion failure when producing LFSC proofs in debug mode.
The issue currently does not impact the correctness of the code, although this will be important if subtypes are eliminated.
case PfRule::ARITH_SUM_UB:
{
// proof of null terminator base 0 = 0
- Node zero = d_tproc.getNullTerminator(ADD);
+ Node zero = d_tproc.getNullTerminator(ADD, res[0].getType());
Node cur = zero.eqNode(zero);
cdp->addStep(cur, PfRule::REFL, {}, {zero});
for (size_t i = 0, size = children.size(); i < size; i++)