Skip to content

Commit

Permalink
Merge pull request #144 from Fixstars-momoko/bug-fix/ion-py
Browse files Browse the repository at this point in the history
fixed a pamameter of API
  • Loading branch information
Fixstars-momoko authored Oct 6, 2023
2 parents 5864c6b + c1b12b3 commit ee3076d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/ionpy/PortMap.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')

0 comments on commit ee3076d

Please sign in to comment.