From f176bc70ef52862ee0dfcc661fbe4b86b1726f55 Mon Sep 17 00:00:00 2001
From: xywei <wxy0516@gmail.com>
Date: Mon, 5 Jun 2017 22:26:37 -0400
Subject: [PATCH] fixed an issue when trace_assignment_values=True

---
 loopy/codegen/instruction.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/loopy/codegen/instruction.py b/loopy/codegen/instruction.py
index 3ef7c8f6a..e590502fb 100644
--- a/loopy/codegen/instruction.py
+++ b/loopy/codegen/instruction.py
@@ -200,7 +200,7 @@ def generate_assignment_instruction_code(codegen_state, insn):
                     "(%s).y" % lhs_code])
 
         if printf_args:
-            printf_args_str = ", " + ", ".join(printf_args)
+            printf_args_str = ", " + ", ".join(str(v) for v in printf_args)
         else:
             printf_args_str = ""
 
-- 
GitLab