Skip to content

Commit cb4db94

Browse files
fixed comma, issue #14
1 parent dc2cbc4 commit cb4db94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel_tuner/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def get_instance_string(params):
1313

1414
def get_config_string(params):
1515
""" return a compact string representation of a dictionary """
16-
return "".join([k + "=" + str(v) + ", " for k, v in params.items()])
16+
return ", ".join([k + "=" + str(v) for k, v in params.items()])
1717

1818
def get_kernel_string(original_kernel):
1919
""" retrieves kernel string from a file if the string passed looks like filename

0 commit comments

Comments
 (0)