Skip to content

Commit

Permalink
inverse to linsolve for AS quadratic
Browse files Browse the repository at this point in the history
  • Loading branch information
matbesancon committed Oct 11, 2024
1 parent d203d56 commit e2b2012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/active_set_quadratic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function detect_quadratic_function(grad!, x0; test=true)
X[:, i] .-= x0
G[:, i] .= storage .- g0
end
A = G * inv(X)
A = G \ X
b = g0 - A * x0
if test
x_test = randn(T, n)
Expand Down

0 comments on commit e2b2012

Please sign in to comment.