Skip to content

Commit

Permalink
Small bugfix for BN
Browse files Browse the repository at this point in the history
  • Loading branch information
rmanhaeve committed Oct 29, 2024
1 parent 96bad81 commit 4539605
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion problog/eval_nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@ def new_result(self, result, node=NODE_TRUE, source=None, is_last=False):
def complete(self, source=None):
actions = []
if self.nodes:
if self.engine.label_all:
if self.engine.label_all and self.identifier is not None:
name = Term('aux_{}'.format(self.identifier))
else:
name = None
Expand Down

0 comments on commit 4539605

Please sign in to comment.