Skip to content

Commit 0e9d35a

Browse files
authored
use expression (#226)
1 parent 7094aed commit 0e9d35a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/examples/autotuning-ridge.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ function fit_ridge(model, X, y, α)
5858
set_silent(model)
5959
N, D = size(X)
6060
@variable(model, w[1:D])
61-
err_term = X * w - y
61+
@expression(model, err_term, X * w - y)
6262
@objective(
6363
model,
6464
Min,

0 commit comments

Comments
 (0)