You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Iterating over a signature where there are no matching entries will cause a seg fault for the latest Clingo. So, the following is fine with Clingo 5.5 but seg faults with Clingo 5.6.0:
from clingo import Control, Number, String, Function, SymbolType
from clingo.ast import parse_string, ProgramBuilder
prgstr = """x(1)."""
ctrl = Control()
with ProgramBuilder(ctrl) as pb:
parse_string(prgstr, pb.add)
ctrl.ground([("base", [])])
for sa in ctrl.symbolic_atoms.by_signature("x", 1, False):
print(f"{sa}")
The text was updated successfully, but these errors were encountered:
Iterating over a signature where there are no matching entries will cause a seg fault for the latest Clingo. So, the following is fine with Clingo 5.5 but seg faults with Clingo 5.6.0:
The text was updated successfully, but these errors were encountered: