From 56c23d14dc83ea72e5d9c6ede30429afa036143b Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Tue, 10 May 2016 11:46:29 -0500
Subject: [PATCH] Fix broken parsing of string arguments to Assignment()

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

diff --git a/loopy/kernel/data.py b/loopy/kernel/data.py
index c4433d5e3..20287eedc 100644
--- a/loopy/kernel/data.py
+++ b/loopy/kernel/data.py
@@ -1020,7 +1020,7 @@ class Assignment(InstructionBase):
         if isinstance(assignee, str):
             assignee = parse(assignee)
         if isinstance(expression, str):
-            assignee = parse(expression)
+            expression = parse(expression)
 
         # FIXME: It may be worth it to enable this check eventually.
         # For now, it causes grief with certain 'checky' uses of the
-- 
GitLab