From af91cd92a6df89beecd5d3ddf8f61054fdc165e6 Mon Sep 17 00:00:00 2001 From: Oscar Dowson Date: Thu, 10 Oct 2024 09:23:21 +1300 Subject: [PATCH] Update docs/src/tutorials/algorithms/pdhg.jl --- docs/src/tutorials/algorithms/pdhg.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/tutorials/algorithms/pdhg.jl b/docs/src/tutorials/algorithms/pdhg.jl index 0e2c3601e0b..6302f2a6f8f 100644 --- a/docs/src/tutorials/algorithms/pdhg.jl +++ b/docs/src/tutorials/algorithms/pdhg.jl @@ -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]] =