Skip to content

Commit

Permalink
Resolve #276
Browse files Browse the repository at this point in the history
  • Loading branch information
Brendt Wohlberg committed Aug 1, 2022
1 parent 427c675 commit aab93c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scico/test/test_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def test_minimize(dtype, method):

# result by directly inverting the dense matrix
A_mat = block_diag(*A)
expected = np.linalg.pinv(A_mat) @ y.ravel()
expected = snp.linalg.pinv(A_mat) @ y.ravel()

def f(x):
return 0.5 * snp.linalg.norm(y - snp.sum(A * x[:, None], axis=2)) ** 2
Expand Down

0 comments on commit aab93c1

Please sign in to comment.