Skip to content

Commit

Permalink
Fix build_variable docstrings in sd.jl (#2450)
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Feb 6, 2021
1 parent ae79815 commit e25dd20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sd.jl
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ function _vectorize_variables(_error::Function, matrix::Matrix)
end

"""
build_constraint(_error::Function, variables, ::SymMatrixSpace)
build_variable(_error::Function, variables, ::SymMatrixSpace)
Return a `VariablesConstrainedOnCreation` of shape [`SymmetricMatrixShape`](@ref)
creating variables in `MOI.Reals`, i.e. "free" variables unless they are
Expand Down Expand Up @@ -249,7 +249,7 @@ function build_variable(
end

"""
build_constraint(_error::Function, variables, ::PSDCone)
build_variable(_error::Function, variables, ::PSDCone)
Return a `VariablesConstrainedOnCreation` of shape [`SymmetricMatrixShape`](@ref)
constraining the variables to be positive semidefinite.
Expand Down

0 comments on commit e25dd20

Please sign in to comment.