Skip to content

Commit

Permalink
python/sixtracklib: fixed missing return statement in refactored to_s…
Browse files Browse the repository at this point in the history
…tring method for ClNodeId
  • Loading branch information
Martin Schwinzerl committed Jan 20, 2020
1 parent 76d105c commit c36f2aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/sixtracklib/opencl.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def set_device_id(self, device_id):
return self

def to_string(self, format=st_NODE_ID_STR_FORMAT_ARCHSTR.value):
node_id_str = ClNodeId.PTR_TO_STRING(
return ClNodeId.PTR_TO_STRING(
self._ptr_node_id, arch_id=self.arch_id, format=format)

def __repr__(self):
Expand Down

0 comments on commit c36f2aa

Please sign in to comment.