From c1b12b32844202cdda4caa8aabd35ef025985287 Mon Sep 17 00:00:00 2001 From: Momoko Kono Date: Thu, 5 Oct 2023 09:17:09 +0900 Subject: [PATCH] fixed a pamameter of API --- python/ionpy/PortMap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/ionpy/PortMap.py b/python/ionpy/PortMap.py index 9c6ea73e..8002b84f 100644 --- a/python/ionpy/PortMap.py +++ b/python/ionpy/PortMap.py @@ -104,5 +104,5 @@ def set_buffer_array(self, port: Port, buffers: List[Buffer]): c_buffers[i] = buffers[i].obj - if ion_port_map_set_buffer_array(self.obj, port.obj, c_buffers) != 0: + if ion_port_map_set_buffer_array(self.obj, port.obj, c_buffers, num_buffers) != 0: raise Exception('Invalid operation')