From 6390aec55e866f6de27ff8ccbb7ce362dfd76a6e Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Wed, 26 Aug 2020 17:17: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 --- sumpy/point_calculus.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sumpy/point_calculus.py b/sumpy/point_calculus.py index ef239510..e58ee3ad 100644 --- a/sumpy/point_calculus.py +++ b/sumpy/point_calculus.py @@ -211,9 +211,9 @@ class CalculusPatch(object): return sum(self.diff(iaxis, f_values, 2) for iaxis in range(self.dim)) def div(self, arg): - """ + r""" :arg arg: an object array containing - :class:`numpy.ndarray` s with shape ``(npoints_total,)``. + :class:`numpy.ndarray`\ s with shape ``(npoints_total,)``. """ result = 0 for i, arg_i in enumerate(arg): @@ -225,7 +225,7 @@ class CalculusPatch(object): """Take the curl of the vector quantity *arg*. :arg arg: an object array of shape ``(3,)`` containing - :class:`numpy.ndarray` s with shape ``(npoints_total,)``. + :class:`numpy.ndarray`\ s with shape ``(npoints_total,)``. """ from pytools import levi_civita from pytools.obj_array import make_obj_array -- GitLab