From e1c15e48c4ec5971fe8515bb9b0629590c506f2e Mon Sep 17 00:00:00 2001 From: Tyler Cox Date: Thu, 13 Feb 2025 18:00:29 -0800 Subject: [PATCH] "svd" -> "svds" --- hera_filters/dspec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hera_filters/dspec.py b/hera_filters/dspec.py index 00326aa..75c31f7 100644 --- a/hera_filters/dspec.py +++ b/hera_filters/dspec.py @@ -2981,7 +2981,7 @@ def sparse_linear_fit_2D( if precondition_solver: # Compute separate preconditioners for the two axes # Start by computing separable weights for the two axes - u, s, v = sparse.linalg.svd(weights, k=1) + u, s, v = sparse.linalg.svds(weights, k=1) axis_1_wgts = np.abs(u[:, 0] * np.sqrt(s[0])) axis_2_wgts = np.abs(v[0] * np.sqrt(s[0]))