Skip to content

Commit

Permalink
Update docs/src/tutorials/algorithms/pdhg.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Oct 9, 2024
1 parent 6f6bbbc commit af91cd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/tutorials/algorithms/pdhg.jl
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ function MOI.optimize!(dest::Optimizer, src::MOI.ModelLike)
## To help assign the values of the x and y vectors to the appropriate
## variables and constrats, we need a map of the constraint indices to their
## row in the `dest` matrix and a map of the variable indices to their
# column in the `dest` matrix:
## column in the `dest` matrix:
F, S = MOI.VectorAffineFunction{Float64}, MOI.Zeros
for src_ci in MOI.get(src, MOI.ListOfConstraintIndices{F,S}())
dest.ci_to_rows[index_map[src_ci]] =
Expand Down

0 comments on commit af91cd9

Please sign in to comment.