bindings: explicitly instantiate AddValue<double> for Cppyy 3 compatibility

This commit is contained in:
Gabriel Ferreira
2023-04-01 11:26:52 -03:00
parent 71af533e41
commit 32e7a62a97
2 changed files with 2 additions and 2 deletions

View File

@@ -302,7 +302,7 @@ class TestSimulator(unittest.TestCase):
cmd = ns.core.CommandLine(__file__)
cmd.AddValue("Test1", "this is a test option", test1)
cmd.AddValue("Test2", "this is a test option", test2)
cmd.AddValue("Test3", "this is a test option", test3)
cmd.AddValue["double"]("Test3", "this is a test option", test3)
cmd.AddValue("Test4", "this is a test option", test4, BUFFLEN)
cmd.Parse(["python"])