Changed format of empty pool expression.
This commit is contained in:
parent
b3da15c537
commit
6f5f7eace7
@ -177,7 +177,7 @@ ColorStream &operator<<(ColorStream &stream, const Clingo::AST::Pool &pool)
|
||||
{
|
||||
// Note: There is no representation for an empty pool
|
||||
if (pool.arguments.empty())
|
||||
return (stream << "(1/0)");
|
||||
return (stream << "(" << Number<int>(1) << "/" << Number<int>(0) << ")");
|
||||
|
||||
printCollection(stream, pool.arguments, "(", ";", ")", true);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user