Don't use Python dict method since it is not

release/4.3a0
Fan Jiang 2022-05-22 17:11:27 -07:00
parent 2ae2cb6dc3
commit b8299d7ed6
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ class TestDiscreteBayesNet(GtsamTestCase):
# 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