Don't use Python dict method since it is not
parent
2ae2cb6dc3
commit
b8299d7ed6
|
@ -139,7 +139,7 @@ class TestDiscreteBayesNet(GtsamTestCase):
|
||||||
# Make sure we can *update* position hints
|
# Make sure we can *update* position hints
|
||||||
writer = gtsam.DotWriter()
|
writer = gtsam.DotWriter()
|
||||||
ph: dict = writer.positionHints
|
ph: dict = writer.positionHints
|
||||||
ph.update({'a': 2}) # hint at symbol position
|
ph['a'] = 2 # hint at symbol position
|
||||||
writer.positionHints = ph
|
writer.positionHints = ph
|
||||||
|
|
||||||
# Check the output of dot
|
# Check the output of dot
|
||||||
|
|
Loading…
Reference in New Issue