Skip to content

Commit

Permalink
Don't use Python dict method since it is not
Browse files Browse the repository at this point in the history
  • Loading branch information
ProfFan committed May 23, 2022
1 parent 2ae2cb6 commit b8299d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/gtsam/tests/test_DiscreteBayesNet.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def test_dot(self):
# Make sure we can *update* position hints
writer = gtsam.DotWriter()
ph: dict = writer.positionHints
ph.update({'a': 2}) # hint at symbol position
ph['a'] = 2 # hint at symbol position
writer.positionHints = ph

# Check the output of dot
Expand Down

0 comments on commit b8299d7

Please sign in to comment.