From 03538743f34dc2bd07a6b9ed9a1435eded60aa1f Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Mon, 27 Aug 2018 19:31:11 -0500 Subject: [PATCH] Add missing r'' for escapes, fix indentation --- sumpy/kernel.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/sumpy/kernel.py b/sumpy/kernel.py index 40e82dc7..12255a93 100644 --- a/sumpy/kernel.py +++ b/sumpy/kernel.py @@ -269,12 +269,12 @@ class Kernel(object): return expr def get_global_scaling_const(self): - """Return a global scaling constant of the kernel. - Typically, this ensures that the kernel is scaled so that - :math:`\mathcal L(G)(x)=C\delta(x)` with a constant of 1, where - :math:`\mathcal L` is the PDE operator associated with the kernel. - Not to be confused with *rscale*, which keeps expansion - coefficients benignly scaled. + r"""Return a global scaling constant of the kernel. + Typically, this ensures that the kernel is scaled so that + :math:`\mathcal L(G)(x)=C\delta(x)` with a constant of 1, where + :math:`\mathcal L` is the PDE operator associated with the kernel. + Not to be confused with *rscale*, which keeps expansion + coefficients benignly scaled. """ raise NotImplementedError @@ -302,7 +302,7 @@ class ExpressionKernel(Kernel): def __init__(self, dim, expression, global_scaling_const, is_complex_valued): - """ + r""" :arg expression: A :mod:`pymbolic` expression depending on variables *d_1* through *d_N* where *N* equals *dim*. (These variables match what is returned from -- GitLab