diff --git a/loopy/kernel/data.py b/loopy/kernel/data.py index 44a5618e7268a3856409e2e98ba8d4e415d8f68f..069cfaae3fc62f770cc64be7f1dc7428d4da4f62 100644 --- a/loopy/kernel/data.py +++ b/loopy/kernel/data.py @@ -678,13 +678,13 @@ class InstructionBase(Record): @property def assignee_name(self): - """A convenience wrapper around :meth:`assignee_names` + """A convenience wrapper around :meth:`assignee_var_names` that returns the the name of the variable being assigned. If more than one variable is being modified in the instruction, :raise:`ValueError` is raised. """ - names = self.assignee_names() + names = self.assignee_var_names() if len(names) != 1: raise ValueError("expected exactly one assignment in instruction "