Skip to content

Commit

Permalink
Update test/plans/test_constrained_plan.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Mateusz Baran <[email protected]>
  • Loading branch information
kellertuer and mateuszbaran authored May 21, 2024
1 parent 82f2bd5 commit e02b0d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/plans/test_constrained_plan.jl
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ include("../utils/dummy_types.jl")
@test_throws ErrorException ConstrainedManifoldObjective(
f, grad_f!; evaluation=InplaceEvaluation()
)
co1f = ConstrainedManifoldObjective(f, grad_f!; g=g, grad_g=grad_g)
co1f = ConstrainedManifoldObjective(f, grad_f!; g=g, grad_g=grad_g, M=M)
@test get_constraints(M, co1f, p) == [c[1], []]
@test get_grad_equality_constraint(M, co1f, p, :) == []
@test get_grad_inequality_constraint(M, co1f, p, :) == gg
Expand Down

0 comments on commit e02b0d6

Please sign in to comment.