Skip to content

Commit

Permalink
docs: fix types argument passed to Domain in README
Browse files Browse the repository at this point in the history
The value of type dict passed to the Domain constructor in the README is set to None, denoting the fact that the type has no parent type.
  • Loading branch information
marcofavorito committed Jun 7, 2023
1 parent d2dded9 commit 67d3b1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ a1 = Action(
requirements = [Requirements.STRIPS, Requirements.TYPING]
domain = Domain("my_domain",
requirements=requirements,
types={"type_1": []},
types={"type_1": None},
constants=[a, b, c],
predicates=[p1, p2],
actions=[a1])
Expand Down

0 comments on commit 67d3b1d

Please sign in to comment.