Skip to content

Commit

Permalink
support non-string nodes when parsing configurations from ASP facts
Browse files Browse the repository at this point in the history
  • Loading branch information
pauleve committed Apr 13, 2024
1 parent a3499d5 commit 1b8be11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bonesis0/asp_encoding.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def configurations_of_facts(fs, pred="cfg", keys="auto"):
if arity != 3:
continue
cid, n, v = a.arguments
n = n.string
n = py_of_symbol(n)
v = v.number
cid = py_of_symbol(cid)
if cid not in cfgs:
Expand Down

0 comments on commit 1b8be11

Please sign in to comment.