Skip to content

Commit

Permalink
"svd" -> "svds"
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler-a-cox committed Feb 14, 2025
1 parent 58b6b8d commit e1c15e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hera_filters/dspec.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]))

Expand Down

0 comments on commit e1c15e4

Please sign in to comment.