Skip to content

Commit

Permalink
report all optimization costs
Browse files Browse the repository at this point in the history
  • Loading branch information
sajadabvi committed Feb 21, 2024
1 parent 308da18 commit 0b1e3f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gunfolds/utils/clingo.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def clingo(command, exact=True,
return {}
else:
if not exact:
r = {(convert(value[0]), value[1][0]) for value in result[0]}
r = {(convert(value[0]), sum(value[1])) for value in result[0]}
else:
r = {convert(value[0]) for value in result[0]}
return r

0 comments on commit 0b1e3f3

Please sign in to comment.