From 879b419481770ca60c413bcf4280e71e1474a68c Mon Sep 17 00:00:00 2001
From: arghdos <arghdos@gmail.com>
Date: Fri, 5 May 2017 16:01:47 -0400
Subject: [PATCH] correct assertion

---
 loopy/target/c/c_execution.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/loopy/target/c/c_execution.py b/loopy/target/c/c_execution.py
index 0d0e3113a..501db3dfd 100644
--- a/loopy/target/c/c_execution.py
+++ b/loopy/target/c/c_execution.py
@@ -117,7 +117,7 @@ class CExecutionWrapperGenerator(ExecutionWrapperGeneratorBase):
 
         #check strides
         if not skip_arg_checks:
-            gen("assert '%(strides)s == %(name)s.strides', "
+            gen("assert %(strides)s == %(name)s.strides, "
                     "'Strides of loopy created array %(name)s, "
                     "do not match expected.'" %
                     dict(name=arg.name,
-- 
GitLab