Unfortunately, we cannot just print the number using Logic::printSym, because this method is not overridden in ArithLogic, unlike Logic::printTerm.
For now, we simply work around this by calling printTerm instead of printSym when dealing with numbers.
It would be better if OpenSMT did this directly by overriding printSym in ArithLogic as well.
Unfortunately, we cannot just print the number using
Logic::printSym
, because this method is not overridden inArithLogic
, unlikeLogic::printTerm
. For now, we simply work around this by callingprintTerm
instead ofprintSym
when dealing with numbers.It would be better if OpenSMT did this directly by overriding
printSym
inArithLogic
as well.Fixes #68.