From dd47d16dd99f3f12bfb143f06b5281910bd986d1 Mon Sep 17 00:00:00 2001
From: Isuru Fernando <isuruf@gmail.com>
Date: Fri, 10 Jul 2020 11:52:55 -0500
Subject: [PATCH] Apply suggestions from code review
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Co-authored-by: Andreas Klöckner <inform@tiker.net>
---
 sumpy/expansion/__init__.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sumpy/expansion/__init__.py b/sumpy/expansion/__init__.py
index a3ed7c05..fb19822b 100644
--- a/sumpy/expansion/__init__.py
+++ b/sumpy/expansion/__init__.py
@@ -235,11 +235,11 @@ class CSEMatVecOperator(object):
 
     .. attribute:: assignments
 
-        A object of type List[Tuple[List[Tuple[int, Any]], List[Tuple[int, Any]]]].
+        A object of type ``List[Tuple[List[Tuple[int, Any]], List[Tuple[int, Any]]]]``.
         Each element in the list represents a row of the Matrix using a tuple
         of linear combinations. In the tuple, the first argument is a list of tuples
-        representing (index of input vector, coeff) and the second argument of a
-        list of tuples representing (index of output vector, coeff)
+        representing ``(index of input vector, coeff)`` and the second argument of a
+        list of tuples representing ``(index of output vector, coeff)``.
 
         Number of rows in the matrix represented is equal to the
         length of the `assignments` list.
@@ -311,7 +311,7 @@ class LinearPDEBasedExpansionTermsWrangler(ExpansionTermsWrangler):
     def get_full_kernel_derivatives_from_stored(self, stored_kernel_derivatives,
             rscale, sac=None):
 
-        def wrap(expr):
+        def save_intermediate(expr):
             if sac is None:
                 return expr
             return sym.Symbol(sac.assign_unique("projection_temp", expr))
-- 
GitLab