Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasZahradnik committed Nov 11, 2023
1 parent 93a06e3 commit 61303d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neuralogic/core/constructs/java_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def get_rule(self, rule):
java_rule.setOffset(offset)

if rule.metadata is not None:
java_rule.allowDuplicitGroundings = rule.metadata.duplicit_grounding
java_rule.allowDuplicitGroundings = bool(rule.metadata.duplicit_grounding)

java_rule.setMetadata(self.get_metadata(rule.metadata, self.rule_metadata))

Expand Down

0 comments on commit 61303d4

Please sign in to comment.