Skip to content

Commit

Permalink
Update test/test_nlp_expr.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Apr 8, 2024
1 parent c8d89fb commit edeb3e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_nlp_expr.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1054,7 +1054,7 @@ function test_nlp_matrix_adjoint()
y = sin.(x)
@test isequal_canonical(
@expression(model, expr, y' * y),
NonlinearExpr(:+, Any[0.0, y[2] * y[2], y[1] * y[1]]),
NonlinearExpr(:+, Any[0.0, y[2]*y[2], y[1]*y[1]]),
)
return
end
Expand Down

0 comments on commit edeb3e3

Please sign in to comment.