Skip to content

Commit

Permalink
python/sixtracklib: fixes bug in NodeId.to_string()
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Schwinzerl committed Jan 20, 2020
1 parent b33a700 commit a85fa3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/sixtracklib/control.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def to_string(node_id):
else:
_ptr_node_id = node_id
_max_str_len = 64
_int_str = ct.create_string_buffer(_max_str_len.value)
_int_str = ct.create_string_buffer(_max_str_len)
_status = _st_NodeId_to_string(
_ptr_node_id, _int_str, st_arch_size_t(_max_str_len)
)
Expand Down

0 comments on commit a85fa3e

Please sign in to comment.