From ccfe82e67e1d91bd88ff20e01e83fdba8e0bbaf4 Mon Sep 17 00:00:00 2001 From: Isuru Fernando <isuruf@gmail.com> Date: Wed, 2 May 2018 15:08:09 -0500 Subject: [PATCH] Fix formatting --- sumpy/expansion/__init__.py | 6 ++++-- sumpy/tools.py | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/sumpy/expansion/__init__.py b/sumpy/expansion/__init__.py index 00849b56..f680347c 100644 --- a/sumpy/expansion/__init__.py +++ b/sumpy/expansion/__init__.py @@ -285,7 +285,8 @@ class LinearRecurrenceBasedExpansionTermsWrangler(ExpansionTermsWrangler): that representation of the PDE is :math:`\text{coeff} / {\text{deriv\_multiplier}^{|\nu|}}`. """ - super(LinearRecurrenceBasedExpansionTermsWrangler, self).__init__(order, dim, max_mi) + super(LinearRecurrenceBasedExpansionTermsWrangler, self).__init__(order, dim, + max_mi) self.deriv_multiplier = deriv_multiplier def get_coefficient_identifiers(self): @@ -493,7 +494,8 @@ class HelmholtzExpansionTermsWrangler(LinearRecurrenceBasedExpansionTermsWrangle self.helmholtz_k_name = helmholtz_k_name multiplier = sym.Symbol(helmholtz_k_name) - super(HelmholtzExpansionTermsWrangler, self).__init__(order, dim, multiplier, max_mi) + super(HelmholtzExpansionTermsWrangler, self).__init__(order, dim, multiplier, + max_mi) def get_pde_dict(self, **kwargs): pde_dict = {} diff --git a/sumpy/tools.py b/sumpy/tools.py index 8916e33c..dd98325b 100644 --- a/sumpy/tools.py +++ b/sumpy/tools.py @@ -435,6 +435,7 @@ def rref(mat): col += 1 return mat, pivot_cols + def nullspace(m): m2 = [[sym.sympify(col) for col in row] for row in m] mat, pivot_cols = rref(m2) -- GitLab