diff --git a/sumpy/e2e.py b/sumpy/e2e.py index 5f4897e52c8aacc4e95749d4df5bd3998864f76b..fa64084570899039ad13b7bdab2ab4cd45ae4a85 100644 --- a/sumpy/e2e.py +++ b/sumpy/e2e.py @@ -85,7 +85,7 @@ class E2EBase(KernelCacheWrapper): self.name = name or self.default_name self.device = device self.use_preprocessing_for_m2l = getattr(self.tgt_expansion, - 'use_preprocessing_for_m2l', False) + "use_preprocessing_for_m2l", False) if src_expansion.dim != tgt_expansion.dim: raise ValueError("source and target expansions must have " diff --git a/sumpy/expansion/local.py b/sumpy/expansion/local.py index 8b655cec4ceff6d90974b2b55e9f2b9eaad85eee..726ab0863c81a34c05333cf341c3b0197ee3518e 100644 --- a/sumpy/expansion/local.py +++ b/sumpy/expansion/local.py @@ -760,7 +760,6 @@ class _FourierBesselLocalExpansion(LocalExpansionBase): super().__init__(kernel, order, use_rscale, use_preprocessing_for_m2l=use_preprocessing_for_m2l) - def get_storage_index(self, k): return self.order+k