From 681b73d17a2cdb49a4fbc23b782a53301490eed2 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Mon, 19 Dec 2022 21:15:39 -0600 Subject: [PATCH] Add comment about scaling constants MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Andreas Klöckner --- pytential/symbolic/pde/system_utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pytential/symbolic/pde/system_utils.py b/pytential/symbolic/pde/system_utils.py index b52001372..070344131 100644 --- a/pytential/symbolic/pde/system_utils.py +++ b/pytential/symbolic/pde/system_utils.py @@ -423,6 +423,7 @@ def get_deriv_relation_kernel(kernel: ExpressionKernel, if coeff == 0: continue if mis[i] != (-1, -1, -1): + # account for scaling constants in kernels coeff *= _get_sympy_kernel_expression(kernel.global_scaling_const, kernel_arguments) coeff /= _get_sympy_kernel_expression(base_kernel.global_scaling_const,