Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 13, 2025
1 parent c8d57b5 commit a5015f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hera_filters/dspec.py
Original file line number Diff line number Diff line change
Expand Up @@ -2965,7 +2965,7 @@ def sparse_linear_fit_2D(
full_operator_shape,
matvec=lambda v: _kron_matvec(v, weights, axis_1_basis, axis_2_basis),
rmatvec=lambda u: _kron_rmatvec(u, weights, axis_1_basis, axis_2_basis),
)
)
meta = {}
# Solve the least-squares problem using LSQR
(
Expand Down
2 changes: 1 addition & 1 deletion hera_filters/tests/test_dspec.py
Original file line number Diff line number Diff line change
Expand Up @@ -1534,4 +1534,4 @@ def test_sparse_linear_fit_2d_non_binary_wgts():
)

# Check that the fit closely matches to the separable fit
np.testing.assert_allclose(sol, sol_sparse, atol=1e-9, rtol=1e-6)
np.testing.assert_allclose(sol, sol_sparse, atol=1e-9, rtol=1e-6)

0 comments on commit a5015f6

Please sign in to comment.