From 3ef17e5c0a04f8368149b76a50d9be270e2a7788 Mon Sep 17 00:00:00 2001 From: Rodrigo Luger Date: Mon, 20 Sep 2021 10:05:30 -0400 Subject: [PATCH] fix #292 --- .pre-commit-config.yaml | 2 +- starry/_core/ops/lib/include/filter.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ec99e69c1..b342f85e9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: rev: 19.3b0 hooks: - id: black - language_version: python3.7 + language_version: python3 exclude: lib - repo: https://github.com/dfm/black_nbconvert diff --git a/starry/_core/ops/lib/include/filter.h b/starry/_core/ops/lib/include/filter.h index 8096414e5..9ee7cd678 100644 --- a/starry/_core/ops/lib/include/filter.h +++ b/starry/_core/ops/lib/include/filter.h @@ -21,7 +21,7 @@ Filter operations on a spherical harmonic map. */ template class Filter { protected: - basis::Basis &B; + basis::Basis B; const int ydeg; /**< */ const int Ny; /**< Number of spherical harmonic `(l, m)` coefficients */ const int udeg; /**< */